From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.43]) by mx.groups.io with SMTP id smtpd.web11.5502.1595366457593437892 for ; Tue, 21 Jul 2020 14:20:57 -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=U7wLjjkG; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.236.43, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVcnFU2uUuzYiO8ubLyfytI3jkQcLvcBiAOW3itG2p4ZG2BDADTecNnr2P+zEznx0liuBntvsi0aFq1Oe6ucMUzmUEKcHxtK65xn6XANIU7SrzxsPVXkVhJnsq0mLXYqrh7s8uJhDioluEhXfjQ7EL2JiM2QE4RNyzVoqAs4i9cliGmCHeAPDbAukRn97QpY5nRqEJ2ViAPWquaCTAeguk32szyF5szfMFYZjEotNMV+6h/atAiuCefffAAC5q9VYqbkh+v3/04vlbXnPooFjaNpIYI1icLG+zCa2oFitpxRm8sGIVKV1QsUP6uv19QuvaZsRhI1DIgkyVXTT8W0/Q== 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=lhDtGWk3/kWaBydUpb93bTL3I4qyz1I/CWsWmh4ffcP5Fk9sDJHmkbjZ2QoUIuix/gJLXOVNjl1uXXJgDTw9xv7lv5+wIHLhLVoLZmFzUdRgc5RFhZlUtSy87aMo6xilLmWPJOq6PfX85PRRuJW6dXSlPXENggQpSNu1fIUma+54ddAX9Jh/h2R0rQB82dGhScGQLWmfSrF83yTzJz2K/rG5cv1k0HS1TjBQqvUo+jOtrBtXuL4GgPoz524kqEgh3eJCBZSbcNLAbT5A9CPBDqE3PZAXGXc/StIUCLwte5vKgRoexH1niGGgXxJ12/aFakoND1N8XH2cqWrQUHyTxw== 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=U7wLjjkGCsuUfB4iLNEek72FpQ9x6CiUqTvIBSX73KMVvWrUaeJscXCmghON+ou+lbB3tSDiGx6/j5Jngiqu8mA4O4fSu8o0DyfgeW6pNa2now3pgtq5QEQ+wbO+Rz1njTk2xjfys4Jo4nQ/0KyH3h2cCAVONr6JOLl6mq4yVZ0= 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 CY4PR12MB1606.namprd12.prod.outlook.com (2603:10b6:910:10::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Tue, 21 Jul 2020 21:20:55 +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.3216.020; Tue, 21 Jul 2020 21:20:55 +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 v11 09/46] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Tue, 21 Jul 2020 16:18:46 -0500 Message-ID: <9f83474d175064d31c843cb543c8cb3cfe7721c0.1595366363.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: X-ClientProxiedBy: DM5PR06CA0037.namprd06.prod.outlook.com (2603:10b6:3:5d::23) 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 DM5PR06CA0037.namprd06.prod.outlook.com (2603:10b6:3:5d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.19 via Frontend Transport; Tue, 21 Jul 2020 21:20:54 +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: cbe6e6a8-2142-403d-63a5-08d82dbbf40f X-MS-TrafficTypeDiagnostic: CY4PR12MB1606: 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: hDU08c5aS2wmpviIdU3MNHwcQrxG2xE+/vsR5o00IQc3nDWvDP65G5Qx5j3pjXVal0Kp9rcQPKiRolk5bqeG3kDOH7FbiJ8OIy+JxSOCJYkiKUfiBjBZmW2GReWLn01ev7aYLv5gacUBjHw5bhUXVhivb8OcoRdRdzxDThg7A20Njb+dN1jpUYeJW2zA7YqWbNk46gl4pjSaqQ5pjOW03YMiyXSZiIaBNHcyLtxqVSBirMjPzDOQQZ8zbgQB38iGKWFlmgSmGVsr4FUtoYV88wIX9jXm+ODH5L3smwD7TLUknuI7dkVMePTCrpq05s1DfJKRMKXtLzqy/YN/WKIOVPVwO+9b8bSbbv42s99KMW2r+S4LkHDZw0ZAkAnzaKte2HOGBylcwI1fkwq1D81Cjq8LF6jHiWeE1YSBRBsSWgspGxO8yzN8Frf9KD2niqVy8G2dctcgp8NNtkK+ogAhyA== 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)(136003)(39860400002)(346002)(396003)(366004)(376002)(6916009)(54906003)(2616005)(956004)(316002)(6666004)(26005)(4326008)(186003)(66476007)(19627235002)(36756003)(16526019)(66556008)(66946007)(2906002)(6486002)(8676002)(52116002)(83380400001)(966005)(5660300002)(478600001)(86362001)(7416002)(8936002)(7696005)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: N8uIDDbJmQVk87EopPOSTdPDW7MDqNeT5MZMBMS2G0KrMN8A5rg64RzuOd97zA/tJx9X13s1RzACx9/xC3ce849zcFxthrqUiUxBPTgKLyyf5Xm7cdRUmDIoIC31csatDuqIU5Y+14efSCSnbuYDqVA8M+DSt4U8Mw8j4Woyg6JrDHNk2BiC5sS9Ibo+pKPHPlw+gHo6x4wXu+uSBOnaar5fbdLb0voAmvGDLgCwaXmmL+SoT5EJU6q1jqLGHFUL+XeGL86Mb6FaDfuimRCSEVBASqhjbl0uSizUVaa2sbjfN8pN06nDeZLrEbh29AuNElB5oRCY0eNoCey0v0JKJJcvlSQEIrVmlkGjW/p9NTXnvdTOsxGvvWJLHah6BLwe60kW4pL1PUtiwl6nrEZAw1/WMPd2hviT+PirLlXg6Xq7a/u6I0u57XvaUNQVeEvbqZmDEoUj96+myRrcqVjii4L53lNPgoDCdi12iQ9j/I4= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbe6e6a8-2142-403d-63a5-08d82dbbf40f X-MS-Exchange-CrossTenant-AuthSource: CY4PR12MB1352.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2020 21:20:55.1557 (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: wH4MoWfiztzzuS8OCWbEZ2RAi3NA99RdrghSpVHWhEtzC198H2VV/m4208DGmk/OS/ptQshRBvMxYluAku2L0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1606 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