From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.49]) by mx.groups.io with SMTP id smtpd.web10.21059.1594737033244276327 for ; Tue, 14 Jul 2020 07:30:33 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=pQE/hFDl; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.93.49, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMEwhnOuUXQhnSJkmv1Tkb+deQEQ0MfXSFnsKtyF0l5F8HfGVD5F6f+IUJPhpFsB+YPThPTUh5plg/iGQ24RglV5NgkdtiRZOIjTCjBprbZsa0QkYEfd5vJyoyyFh4DpIGm8aPhrwfKi4jGVpU8shdBXO+EHW9kjZHnLbDzetqVDUrqXrCmuJFIKM1CQV3gxfIsMClmmjPrTQ2rM0PYZwxz1GhK6J79LCG2bSIkl3VJzK33V7IRhBuyUlo02F0aYmZC+DCIE+30TH03JvfypCcBbimjR7wSoAyuzsEb2xUP3FXVA9oc8AlNics324e6TOTeW3P7OyIIsgG7u/HcGeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OxttOTgzdegAV1YWCYyGem4R9s8oQ3VG39IsysQR0G0=; b=AX+eappfquROPo/r/X2qefEKxURd5Iovf8uJzQT2J0SnCdQ/OYOC37q8ioyo4hzZcaBpuKIDgfTqIR9k0UEaZwZmpY6WU4ZPbmhFfyKK1pKw5GSeuZ8BhUy5f4CG+xee3qvWx/4iPbjQnf9Wi6tNNfuPdQ2Ah9IvD0Y/oFCulAcdfv+VQcG7FE8JoflLHdAgEV1PktSWPs1NiBGoFA7ctz08cSZuRNf2QITzp8PRv929hw+MAZWDgURMVRKqUkJqKeMeeJsni3n1NKEkDb4UZIAvxZCo+6NpmENw0DEufzhNc4dunlFgI4rg06WbN90pWIY7TM0+4Aneb3CfPuBODA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OxttOTgzdegAV1YWCYyGem4R9s8oQ3VG39IsysQR0G0=; b=pQE/hFDl6G2Z+Ev/5iLkTwWglcSMNquI+++wWRog4brQkNi0wkAmZEg4q96+ug3YEzNiOD3MOGS1FVOsStVitwz4n1UylFsbOIx4VBHNDar6Z2pn+DARada/9ZdOEtbRq71CLgFYAid2gIqGMvcTsXs2bAreUE8nYf/xu5iV5go= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) by DM6PR12MB3177.namprd12.prod.outlook.com (2603:10b6:5:187::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Tue, 14 Jul 2020 14:30:32 +0000 Received: from DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::25ec:e6ba:197c:4eb0]) by DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::25ec:e6ba:197c:4eb0%8]) with mapi id 15.20.3174.026; Tue, 14 Jul 2020 14:30:32 +0000 From: "Lendacky, Thomas" To: devel@edk2.groups.io CC: Brijesh Singh , Ard Biesheuvel , Eric Dong , Jordan Justen , Laszlo Ersek , Liming Gao , Michael D Kinney , Ray Ni , Anthony Perard , Julien Grall Subject: [PATCH v10 09/46] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Tue, 14 Jul 2020 09:27:40 -0500 Message-ID: <209c986fcfaac835d06f03f38f76d1050ba76f16.1594736896.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: SN4PR0601CA0003.namprd06.prod.outlook.com (2603:10b6:803:2f::13) To DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) Return-Path: thomas.lendacky@amd.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from tlendack-t1.amd.com (165.204.77.1) by SN4PR0601CA0003.namprd06.prod.outlook.com (2603:10b6:803:2f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Tue, 14 Jul 2020 14:30:30 +0000 X-Mailer: git-send-email 2.27.0 X-Originating-IP: [165.204.77.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d056413c-d8f6-4c0e-8ebb-08d828027677 X-MS-TrafficTypeDiagnostic: DM6PR12MB3177: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HV1wBADyQOtfweA6lKy/nzJuj+rBuqlc/djSjiSEGb6nToBEx2T6N6WUEkkMjrLWRktnZqT2KauP0ht7VURNC7KbnKr+evteSzOouwx8IF4QUBSlRsDW23GDL6otKXHG+AT5mU13YEXW1CCS8UcoKWyrZZJutRLRy9RfBRrhxa5Io4c4EkwC56Gz1u0gq0+eTnVeab/lR5IIRnKsNHsly0Cf+mRLdr2wajUfxRB7u8osiYRJT51BKharRQBknp3imQwu7eo3JEhVr36gCD97SGsknfxLwYM66F9jGWMtENGCbPUMMIP1kEn1rE5WlwUM0sSOgHOXZgzIiCJr4SxMC324FUHnwUwFEQLcAkbzL7fuH7IHqbYiOqfxq8S5zzV2MZtHAfq6V2XqsdouxgH0/97Jx/bWIeLh3b52aVMYku2OJJem4NBHMLjykUJEMqLTSfAebTTzC0hkvOb6ex1xBA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1355.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(39860400002)(136003)(346002)(366004)(376002)(86362001)(478600001)(8676002)(54906003)(6916009)(2906002)(8936002)(956004)(6486002)(2616005)(52116002)(966005)(7696005)(66946007)(7416002)(4326008)(19627235002)(6666004)(66476007)(186003)(66556008)(16526019)(26005)(83380400001)(5660300002)(316002)(36756003)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Gkp5iIH5BylPDcJrJICtLwdG6Q6JJckrWnW3S2KVaIl5mz0JDGrua1w7mjHXyvhf3iYmsMbcduS924tUzb+XN31uJ1RrnFLoO6TSvJRGWQ3hndGFnVAR2ks8wUf7G/wHUhAzaKR/Bf4xIQsr0tBN8xaoRt1MEAhA4iJns45RdnuMQxxIhdawPmCQQbezd/AsWFkaPvnIZhUsWwHKnd+KN3GCJRJjF0e8oXXV62nEHTNynAeGHxbFW+sYMN/LqY5VkJhtTNXY4xG+2499otp3HTstoCjbw/ZjZYTJBf3igROgY7wlXjlC2Qmd6rFqeqfc9p4cZttP1KTgEA9rt0iazK8TpR3RCDXSngwK+B/UZjjg+aQKraKJIk5Zvux5F6HBgnrvBc2jph+A6Q3aVyOyEqPvYje2cgohnMiR6hKL4bxOUd3BPQsWMMy8MqIdCjw11Zx78jRB93MCiDmLPwkNJL24w5rTh4KVq6VdBh7hoa8= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d056413c-d8f6-4c0e-8ebb-08d828027677 X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1355.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2020 14:30:31.8266 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SmO6lztWOauvQ1NBR+pcTbohh0sy/MBnOdemEVBShPVNj5KpgXd1ADQL5qq+yGTk2bcdoYegsAy4NLMVAKO5vQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3177 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: Tom Lendacky BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2198 Various CpuExceptionHandlerLib libraries will updated to use the new VmgExitLib library. To prevent any build breakage, update the OvmfPkg DSC files that use a form of the CpuExceptionHandlerLib library to include the VmgExitLib library. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall Reviewed-by: Laszlo Ersek Signed-off-by: Tom Lendacky --- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfXen.dsc | 1 + 4 files changed, 4 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index b4ee7376791b..b6f98af8183c 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -228,6 +228,7 @@ [LibraryClasses] =20 [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index ed68b080f2a2..d147aca168be 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -232,6 +232,7 @@ [LibraryClasses] =20 [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index cb7e8068a3d8..269b6d973188 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -232,6 +232,7 @@ [LibraryClasses] =20 [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 782803cb2787..37b63a874067 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -213,6 +213,7 @@ [LibraryClasses] =20 [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf =20 [LibraryClasses.common.SEC] QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf --=20 2.27.0