From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web12.1283.1585071678193012355 for ; Tue, 24 Mar 2020 10:41:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=YXd+CgOl; spf=none, err=SPF record not found (domain: amd.com, ip: , mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QAPqfOhx5jyoSU7vsLBkcQg6OqgiUsNS1vfeSHu7G5ig5wjHbdu2OgvSZ0vD1SH0dKoLPQTs21gt61cIsbGFg8dc7xxAVs5Snsj89EoH6yu9GwnCR2AenjwXFsGDPG1jjdCt3XeR4/uxfi2ejR0Q+/+fTYUlaMboeoXE8oy4p6q9qoEdAJw2sXEqbHa8fmNcVn2y677W2XtXJTWuqY8za8aArnu0qNLnfN9oR3BDDoLxnpQ+xQVz83aVbI3rT/we9UnCHxs+vqZbsnwDu/iOA+AOE/eXEPRuXZBSAwVIMnVgpJ0B5yiz/iJVSwmCfBa4JYNabJlXs9s/eye58n/H2A== 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=7TGpSmTJWh74Kkxber610zbjdviabyzycwEED34FXwU=; b=PH6jaQg2X2C9CGMKNutwSSM1fwBHSRbybh2AeGgxyqOE8r7R0mXforUcr86SE7AK7vamBrIO6G/RLQ8rlJ3QFhMI/278jlcubU3DfjgzEWngwOj2vkK3cef3ecPkz7cMiaETnHWn2Jv+JoV6XGIIJVnuPF7yI8vuh9RQljRANFeuJhDbkHi1zcNNF2SaFgz4A6amvjlP+yx5Ki/Xrnky7zAxF1GfPgiSjS8vowCncpJLYxCvVdh3aCN0BFDAOxWgpSK49RsfG6p0NPJ76StP0e7Xe4zPOE+x3IaBWsbofF6zn/GQQ/BSZHMtaryFhLg3AkYxKIsUqwLlq+CwUAOHUw== 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=7TGpSmTJWh74Kkxber610zbjdviabyzycwEED34FXwU=; b=YXd+CgOlPvlNqWIFqMgFwq+8JGwZpM4BvgJdwXU3D5kiuxxywAr4lwSy0QkniwyWXkDaUT9exEY9Oqb1PFGDiAtAaShjwog4UYPWiVvqUpVQbOQlrlB8UeJXlnPCeqvUUf4F81SSrsc7yTcOXW6z/zpAiSnA6rn50DNwQRmWWu0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; Received: from DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:15e::26) by DM6PR12MB3915.namprd12.prod.outlook.com (2603:10b6:5:1c4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Tue, 24 Mar 2020 17:41:17 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::f0f9:a88f:f840:2733]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::f0f9:a88f:f840:2733%7]) with mapi id 15.20.2835.023; Tue, 24 Mar 2020 17:41:17 +0000 From: "Lendacky, Thomas" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Michael D Kinney , Liming Gao , Eric Dong , Ray Ni , Brijesh Singh Subject: [PATCH v6 08/42] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Tue, 24 Mar 2020 12:40:22 -0500 Message-Id: <28e68e1ae7f74d403fd798dba7fcccbcfc4df756.1585071656.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: DM5PR06CA0025.namprd06.prod.outlook.com (2603:10b6:3:5d::11) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:15e::26) 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 DM5PR06CA0025.namprd06.prod.outlook.com (2603:10b6:3:5d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Tue, 24 Mar 2020 17:41:16 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [165.204.77.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8fbd8732-2111-4660-9d1a-08d7d01a8e7d X-MS-TrafficTypeDiagnostic: DM6PR12MB3915:|DM6PR12MB3915: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-Forefront-PRVS: 03524FBD26 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(8676002)(8936002)(186003)(316002)(54906003)(16526019)(956004)(66476007)(36756003)(6486002)(19627235002)(66946007)(6916009)(66556008)(2616005)(26005)(4326008)(966005)(81156014)(478600001)(81166006)(5660300002)(2906002)(6666004)(7696005)(52116002)(86362001)(136400200001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3915;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kz5etIVKcAV/6kzLdp5Qup1Z//1hyZyfu/3NPhgb3MX34/0MshnVUL9QU/8xSUufTuaj3ol/eDMHLpEeFKdptPc9HB+bWfNsnzcK055j3TzvHa2SO7NQzUAzKMxhEv/nNR+oCJtwtANTTsuAEG38pF4JeiaTlDeCXreDQdsHXbVPWl8hox8NEgXSo6JUSZIwCnxMUpFAWXXNCdOJudm1I/lmqfKJ99YrU6QyrR6CZLtsh3VWgR50RBfP59+JCBsAz4JU33FXxkC2Y2nGerYfH+c8Uc4CeLdCAuOJ0OvoOcaOmhPOyUVg6p+4fs6HXslU9zje0uque3bAPz780v0+VXtS823vburbnZOeudmKquWC4JDziiNQsDGYAhfOQHv+4t1Ubv6Ec0eXsOQr9oBfrLChWchSyl2XfMSUmjMPSjm+BXbCt4HU823YMteLWqN8T/2hHEk3406DowENNbFc/9mKC0lpJElfbSE6ukavXXvqVUvrHIIToJ7FPsSmdxVrnnOmhwwAebQU8ysFJ3hBINXyjvBYyzy/Zw6wlDSKSr+mpQTPx67gu9vihrH7W/7IxdrVRQSH+cWtlxQAdlcNfQ== X-MS-Exchange-AntiSpam-MessageData: q61qz3exgIV6tDM/9rKigzOwYOq+ksca+XBWKdBSUYV++0oqm7qKvS+NIIkUM4225EKLKZ5oNVwEK/e49fbr3GZDfwnh6lKrcI5S9gDuRCt/n64kOd+BZBqWyUhCEAw5PpEssC5a47Xhh5augjm5Qg== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8fbd8732-2111-4660-9d1a-08d7d01a8e7d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2020 17:41:17.6567 (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: IJ0IQsRnKaiqY4xHTIlVXZ58DXxLyu104906tYoRrrm0g7uhD9Oq5MCifBtUilQoT9xr7K5IGojxDWKhKPY3VQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3915 Content-Type: text/plain BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 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 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 02ca17db8b2a..2701630be8f0 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -219,6 +219,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index d08cf558c6aa..671fdfbbd47d 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -223,6 +223,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index b2dccc40a865..5abf83e05480 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -223,6 +223,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 85fe39f7896c..4bf6335be767 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -204,6 +204,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.SEC] QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf -- 2.17.1