From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (NAM04-SN1-obe.outbound.protection.outlook.com [40.107.70.66]) by mx.groups.io with SMTP id smtpd.web11.58071.1595863672203135406 for ; Mon, 27 Jul 2020 08:27:52 -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=mGY1xaSd; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.70.66, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRE3W1ovmXcTWqroLFM/K7iOtO748w+MYVTbxgVMZDD1CtuogNVIbQ5gsxRO/mLGmcMFVAWV3sRCQ+fEExF2BTozMGJt75E/2m62sqEb9LP9A+1yTbWZfdYLHaZreH7zwIDft3BmBPpYWYp1G9JS1FWBV5eKYzlVmMSQSPCPx7P6niLkDmpe/7t7cPqu8OzyjGmKZO2C23But5OcI2e5W2pU7hbZ7HA4RPWSnSW72m9omUv0CJpHez2NTFi1USahp3WjhmHeiwlZgKHGEvtjQ59U7Vf0ePrvsv1XEtx1vPgwnTJMOe+W6xZV4qu+8tfsAXOKAXmgvCjpzumUbW2qFw== 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=U9b/kKvH3tVOLRpdFrO8SCIdJMh8PK+H2a8qgSS46bs=; b=oIuE/gp5s+n12uIacMIkVlvrjhdSuDUXKhjl4p0Tca9gI1l+JEOj+9i+R32JDoS2AQr7HSTtqc2KNXT3xoO1U210F2JaT51UwsXMN4YrII+bwqllQbT7GS618jK+gU6uGz+UuXJUqBzjludR4PVJqtNr5sgSGXQWXlR5BgHokiNM+GuIA9ZuvwDbbktYprMuoNXQzPxwVnVAXTBJHzuSqsRFbozy+yEB0Rfq2bE8L4Tj+lLT6ZeznGfdTqJXGkdU1I0yrnZtZ56i5sFg0coeOqZL7rgiWQS+FxC/evyluSZWFe8o6pCEniWA6+U6xC5GEPC2YyEH3oV9WJ8ZaIogfw== 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=U9b/kKvH3tVOLRpdFrO8SCIdJMh8PK+H2a8qgSS46bs=; b=mGY1xaSd2zarn/Z4YxVQaAt9IHMpu+pdSdHwu5zTkWrAlsF98wQICageN+4D3eNwJ2fAZ2gKgzLAJwLLZfiQcWQXJr9Fdv/TU6s3DfH6SXCYrUNOymZfohMLSdOnR9UqL/prz9EuYJUXi5JxOb83ZcBnJoITf1qLAfJS8AihDQw= 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 DM5PR12MB1163.namprd12.prod.outlook.com (2603:10b6:3:7a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.25; Mon, 27 Jul 2020 15:27:50 +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.3216.031; Mon, 27 Jul 2020 15:27:50 +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 v12 09/46] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Mon, 27 Jul 2020 10:25:50 -0500 Message-ID: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: SN4PR0201CA0058.namprd02.prod.outlook.com (2603:10b6:803:20::20) 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 SN4PR0201CA0058.namprd02.prod.outlook.com (2603:10b6:803:20::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21 via Frontend Transport; Mon, 27 Jul 2020 15:27:49 +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: cb5f52c8-9b8f-4fe6-598b-08d832419f64 X-MS-TrafficTypeDiagnostic: DM5PR12MB1163: 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: KpkGCPZojaB8s0bhsE5OpgntyJOiKnqMPceGsZVILwv0WcbBuvn4G5XZuLyaByz0Dw5tsfKDTFSrWKvVVhTSz9SvywFx5h4I8EbK2Vc3WspuZe9trRf5kjhZ/SLLFkMFUFqxmUu4fAJWTF+mh3bdP3R/6rJR2JUUJhY+rQuTfxm74h3aKPd2YAd1acb8qB8ijyJC+wDV5ANkZ8c+/JnSvIGdomxKCIEpoTsREFtkriAot0FZx4NTFHqiB8iSbB66TeKcVj7rppWqwGyrWogj3dj73+IgWf+YeFxePd3/mDM+oHOAhxpS6AKqtrXtm9gBDW50hmxFX3xpFeOoHVqx/SQH4uaVfMySVYHYnQ6D0mBictN/K4kjRXyZq7B5MW3BDY+0CDyRPbRtuU/Ll8k9ROoo7MFXGdHEkW/r/3MoCXNvOdgZvYe/WeMG9l6qM8DeFUSdKQLuW8HcjOrnk1XkMw== 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)(376002)(39860400002)(346002)(396003)(136003)(366004)(26005)(7696005)(16526019)(52116002)(186003)(66946007)(2616005)(66556008)(316002)(36756003)(956004)(19627235002)(966005)(5660300002)(66476007)(54906003)(6666004)(478600001)(2906002)(7416002)(4326008)(6486002)(8676002)(8936002)(6916009)(83380400001)(86362001)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: xwnCZd0Jjb+qNKy5yMgoozuA+bHIzVUI0XhkHO4J753mjIaoyK1Q9UyJac+EVHG/EJgr54JFQVpTZXBOhfB4RdMqwG5use602qTjFFLqdekHjHdkBZpZnc41q9ZYwQh3CO9ThESQJSm8Rvkz8XbfR7Js+foZIwyzeQ7txvF1V+Vuis1gZEGnvGaOY6+X7dT7zJs47CRosQPso2bL72GrpnW/kf6p7H44F0/EZbGHZIUapEv/oUbdapJyHEESqMM9wPOknTzf0zJg1yAlPbBpXd5LZzMIvycj2o5/KV7s0XvyWPrZVEsNKDrH5luIo9kDlFUJKXbbpLZ4vubhYALqRk/rYbQLjCO66jZ0JWyvHPGuB1ylViVJYyzVaUZlt1KiJP+ZKNj1gszdGJiROpD2sIH4VX8BC70kIXuAVcoZrgSrJiKQ5xvTQ1FoNQQa4hQIqf07XUCWdijz0IK72q6xyJ+et0mKgi3VStkacziwsYg= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb5f52c8-9b8f-4fe6-598b-08d832419f64 X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1355.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2020 15:27:50.2821 (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: Dy4eREyoXRDLDY/2uMdcO+939xp54laYb4lX6GTFidh+GcFYIST+DS1pXoL7fdGvwGoJAxzJ998e+kdWhG9RxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1163 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 9178ffeb71cb..c57bba1ba197 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -229,6 +229,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 a665f78f0dc7..22e930b12b9b 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -233,6 +233,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 17f345acf4ee..27f5225fc281 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -233,6 +233,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