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.51]) by mx.groups.io with SMTP id smtpd.web12.4200.1596829258341109569 for ; Fri, 07 Aug 2020 12:40:58 -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=lmcXUfRV; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.93.51, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AB4ghMoob4myf2UvbZDT/Y3NRkfCs+OJKAMn7+pMEMDDjABMOcG8MBJ4bNQVjt/bgS/6BWrtI2/2N2xt2cJ3sDScpITq14FEH70x3VRUEFiLQBpLD5UHm03yD66ISoasatYatvArZwdvLvZFWyoRYwLRXEZpsDf49NAbUEmbJq82vFWgIRXzP0sJymSQx305v1nxl6yY8Kmv7YvnhpWqZzE6vLW7Zwq/S2laImb4HX0SPGGwY9UeOMggwNnQhqtsoQNJenDSrZMBQn4mRRfFz3SlhnLQYddAHsDbGv+4pT9y8WY+ReSjvTS96aL5wU+y//luzocpsL6Qp2D4/wRaRw== 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=Eeqfh1uzeCpF4QR1dPHkZPl00O9tO76MbFSXzOSMifaoTqpErdFlLPMPT5GrAhXB1TjHczw+1U2yQRVQGOTkID+n+tzJ0yo5ghLrhm9Q1NAgqm9QZSB80iowWNZjt3LKW/lDbZAgypXa3qi/9lumfWSb3uG2nbLdtI4ZztYzkPpZSyMexR6/c0aZY2HAIAYTvA408LXpNAxwVKixIZK7jhYKf4ABfmbtEzoJQ9wYeh38sQEIcHxUJcGDTEED0gNMnA+Vm1Wnl1S2ki314P5RZ74ab75hWHrrgjOUxvbdTBpNtz2ni5e9MgJUtjzL9Pm8Sg2XtJc6YHBbu6seBBF0pQ== 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=lmcXUfRVMv+fgw5D6kgob1MRTR1TB2d/p+gJLyN3tOMF9y9mNA9RL78M2pwbKBpRzatxeIS7HmC4znDRpBoaZ7QL9cbz00RK4hn/Jsyq0GnAJE3ZWTsj7ANoOKxSKq2GCCYhlQBxXSfT5pzSo3xfy4OAxq8aj6ZVrsWNXhLryfU= 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 CY4PR12MB1352.namprd12.prod.outlook.com (2603:10b6:903:3a::13) by CY4PR12MB1541.namprd12.prod.outlook.com (2603:10b6:910:7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18; Fri, 7 Aug 2020 19:40:56 +0000 Received: from CY4PR12MB1352.namprd12.prod.outlook.com ([fe80::9181:78bf:bf0:702b]) by CY4PR12MB1352.namprd12.prod.outlook.com ([fe80::9181:78bf:bf0:702b%5]) with mapi id 15.20.3239.024; Fri, 7 Aug 2020 19:40:56 +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 v14 09/46] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Fri, 7 Aug 2020 14:38:54 -0500 Message-ID: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: DM5PR1101CA0021.namprd11.prod.outlook.com (2603:10b6:4:4c::31) To CY4PR12MB1352.namprd12.prod.outlook.com (2603:10b6:903:3a::13) 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 DM5PR1101CA0021.namprd11.prod.outlook.com (2603:10b6:4:4c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18 via Frontend Transport; Fri, 7 Aug 2020 19:40:55 +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: d77c962a-7a6c-4fe6-92e3-08d83b09cdb6 X-MS-TrafficTypeDiagnostic: CY4PR12MB1541: 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: vQym6utpxDWIcUb6RF9fVU/0caXItPRiXwEEpv+13X8QRnNjngLFrQOoP6P3V+Hykuw/tSmU8dKyCU+uV2iw8PuaOkHeg/oIRolt3xjzamUypdLXIznR6hSiESjp+n4NloE4B9IMgPSlI+lMI3Oz9/m1NhFvr75aePowiB6yfwfKXhnoApMeASDaZIgxjY4idOFDVYkqb1h0f4myEWrOersNCq5h38wSXDrrdzVC0F4qhiZOtm5oB99GqQvM09ui99+wm5jn4/n1awZeRXUKrFFIejtapR1f/Tz8+/VQXPrInpamoQAeBQEZcHaeot3EtqbhLtmKIm+25Cd0Li7SQ8l6gRQ8gbLi6LmxNQEIJ03WR5AUTcBy0rKV/gufpCn/BkVCgEMJ9Lygcj+4UYimepKCs7SBL4mzvC4+PYTON8iPMpIQe0MTIatlofUoSUuCPlIUp63ko+tBNaMMo3tPVQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR12MB1352.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(52116002)(7696005)(6486002)(8676002)(83380400001)(186003)(2616005)(16526019)(26005)(36756003)(2906002)(8936002)(19627235002)(956004)(6916009)(4326008)(86362001)(54906003)(478600001)(5660300002)(316002)(966005)(66556008)(66476007)(66946007)(7416002)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: xRFkt5CrfSeOsO2QiAezZqZl5SNqR9JoSAVdCaH4ZiPIuOzRrs6+MAeS6oyyI75oYPG2+H+uM4xSFy66aGqIMcxTQ2WfkwAec3pll3obJldc2krIhpDT5IFL3k9tA8CI6TimG5hO4i2kWNvKbq0MMmTbZssLMybcxeq9xdSxaSniXdyWb2+iP9cWRL1f0ezBrbFn/koWxuM5cMaUw3r41Yy58UlfKSB85ssHNag2WPI/EMvUBsaV7brQMNO5XKnfb0W0pWIPsCUWveHQZpAYsYgzZOAQhr1aoZWOBH81eFxZUCUpuuUhub2tMiLWMVRSryNlhq2F0mcGZVvpWt7E80/rh8a7R61o8L/DtQ43mohsP7a4VQ4C9YkPMaxNUq1VbXwmB2zyrluhi+GZUSvhgpQ20aQj+gE6aEALZz7GzaEwxu/hv+JU3RG/B9HbJ+2a4967eFN8gN1bnAAuFRtfjhFZQ9ZMtGQ63BAtPkKAEP9K2P70SgaenBu2VaEtGoEhlkVSs/vu+zyoNyxA4Q1UrMjYiu5Ae8cV71zYFv9sXpZeKIiEmje6irsm5uUyTPL6wPIoTAP3rvDQc0WstiNWCEigYQxJeTpufj/Cy2E11eYOV9fkbEukNZjR6jZPQa+Utq9JVbb2Pi+B881WlszZHQ== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d77c962a-7a6c-4fe6-92e3-08d83b09cdb6 X-MS-Exchange-CrossTenant-AuthSource: CY4PR12MB1352.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2020 19:40:56.7232 (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: 9P/2dI9e0JhvI85kBVoe9QPEdDYcLCcNePS54RxljXUbVWWW50nwjkANlGjmRyPshdBkh12H9WyAJtLYhm94eA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1541 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