From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web09.7180.1646227937113677854 for ; Wed, 02 Mar 2022 05:32:17 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=j1POw/V/; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: sebastien.boeuf@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646227937; x=1677763937; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=d+bh5bvf7l399Wb0fEyPgKmZI6qi9xsxXx8THixLTvw=; b=j1POw/V/4mi26ZMOtIMW8jou3shwQBejgQPw/Dj8hqKfTOadqmfyyUkA 0HR5A4LHn+F+CwWHyCorNEvFId8xHkwvvOcHFMHs1w+lJ6oGim4GjTGGy VOVhCy0rDPzR7FV0TQ6A6zrMJ8HKmRlwkpA6aJLEtyZe0obwnxyQPJkdz r8yxmHRie7dozsODGu2PaPGm4Gmb95Li0AmBr4UU06QtTLDuMGmuMp10Q eUqIThYv6SDF9iK54SHHI+O4uL+1LGhXfqE4/P3CRGFHc/xxwC2AfE6Qn VtD1K3s8ITlNIE6yiOnxtPXYLsWK0tAIm1L49dSjgCX7Yvg4lyYhrOe1H Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10273"; a="240813747" X-IronPort-AV: E=Sophos;i="5.90,149,1643702400"; d="scan'208";a="240813747" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 05:32:16 -0800 X-IronPort-AV: E=Sophos;i="5.90,149,1643702400"; d="scan'208";a="535389310" Received: from spearce-mobl1.amr.corp.intel.com (HELO sboeuf-mobl.home) ([10.252.27.130]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 05:32:15 -0800 From: "Boeuf, Sebastien" To: devel@edk2.groups.io Cc: jiewen.yao@intel.com, jordan.l.justen@intel.com, kraxel@redhat.com, sebastien.boeuf@intel.com Subject: [PATCH v6 4/8] OvmfPkg: CloudHv: Remove VARS and CODE sections Date: Wed, 2 Mar 2022 14:31:33 +0100 Message-Id: <5b0c8ea4a9252b3902168b191ff037bd425c8740.1646227817.git.sebastien.boeuf@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: Sebastien Boeuf CloudHv doesn't need any VARS store, and it doesn't need the CODE section to be generated separately either. The only thing needed is to generate a firmware binary that can be used by Cloud Hypervisor. Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.fdf | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/OvmfPkg/CloudHv/CloudHvX64.fdf b/OvmfPkg/CloudHv/CloudHvX64.fdf index ce3302c6d6..0974e76ac8 100644 --- a/OvmfPkg/CloudHv/CloudHvX64.fdf +++ b/OvmfPkg/CloudHv/CloudHvX64.fdf @@ -24,38 +24,10 @@ ErasePolarity =3D 1 BlockSize =3D $(BLOCK_SIZE) NumBlocks =3D $(FW_BLOCKS) = -!include OvmfPkg/VarStore.fdf.inc - -$(VARS_SIZE)|$(FVMAIN_SIZE) -FV =3D FVMAIN_COMPACT - -$(SECFV_OFFSET)|$(SECFV_SIZE) -FV =3D SECFV - -# -# Build the variable store and the firmware code as separate flash device -# images. -# -[FD.CLOUDHV_VARS] -BaseAddress =3D $(FW_BASE_ADDRESS) -Size =3D $(VARS_SIZE) -ErasePolarity =3D 1 -BlockSize =3D $(BLOCK_SIZE) -NumBlocks =3D $(VARS_BLOCKS) - -!include OvmfPkg/VarStore.fdf.inc - -[FD.CLOUDHV_CODE] -BaseAddress =3D $(CODE_BASE_ADDRESS) -Size =3D $(CODE_SIZE) -ErasePolarity =3D 1 -BlockSize =3D $(BLOCK_SIZE) -NumBlocks =3D $(CODE_BLOCKS) - 0x00000000|$(FVMAIN_SIZE) FV =3D FVMAIN_COMPACT = -$(FVMAIN_SIZE)|$(SECFV_SIZE) +$(SECFV_OFFSET)|$(SECFV_SIZE) FV =3D SECFV = ##########################################################################= ###### -- = 2.32.0 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, = 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.