From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.64]) by mx.groups.io with SMTP id smtpd.web11.955.1589925099321816511 for ; Tue, 19 May 2020 14:51:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=V05il4zp; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.220.64, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gwLxPQFRLlC/lQ2F08hlLocVkhN9ACia+HskoaHxVIjWO/8mA1IwH+eJxe5i8Sf/oOXqzO/RiwXcUKzrCR73ubGjIDav3D0dhOdKFKenuenFfoigS12ARqNVZ8I8zNbYK9xkyV1AGsyWlmGAuGKASzMBFaExVcvmWEgP6R9QXvzybqkDtTuZe0mpFatpYVIMzn9hyWtKoGn9GFq0w1zRP1exLVfseP9QYB2alkR/UOfeMqVLnnWM8dCC077Jl9NOrVAlIuePwPwTobXn9lam3rjI9hfFKtqLCy8Lnmr6sFGnN7dOs/aVYW7L3s+Mj/E0gtQqjuqEKP/mdscLiTtMzw== 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=aCnxxixgRQ0vBmP3L1gsmtgc4zbXHvtzoNYAWxTj98c=; b=hEV2ta31AoULTZXskZl+0IYZxkRCOe82g5r8RWBA0JdVqExTq/80GFaLhLh5o3thbggFH5EH52csWXkyLA2O8fnwFCe/WHo4k3FMAN7HRTlyx8SD1TMu+CM5xAxJ9Er8juEjA7EIBpl7847mGh495tjLu9x8xPUznHAh2STGU3NaPg3epkWg8V3UuxkqO7rakb+fXGe3jrl9NlBGtPSnLvoDTAjj584zAsFQA3riwbwXJwRjA5D2ogZBdmczEWc7Mia+U5MqWJB9nuNIJwteAfWZqYh9obUdB+/F6tyP04niGQW6UEGoCdMlYWqCDImVqPbJnAD+QQ7Afytv8LtAvg== 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=aCnxxixgRQ0vBmP3L1gsmtgc4zbXHvtzoNYAWxTj98c=; b=V05il4zp8c+fULKmF+dptdB/jRjb+Wn5lGp4rYvdtcGaq0ELxPBTzMi40PyVnFYZ/7VKAde0A7YtiW9SASjOU4qNyMBOTvlCMwfovSezqCBr4sYL5gsEMaaOJ9iEY3nj6buof9HC9TzXYRUMc0LavR9JFwLE4R+XY5bQs9v5HCA= 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 DM5PR12MB2504.namprd12.prod.outlook.com (2603:10b6:4:b5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Tue, 19 May 2020 21:51:38 +0000 Received: from DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1]) by DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1%10]) with mapi id 15.20.3000.034; Tue, 19 May 2020 21:51:38 +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 , Anthony Perard , Julien Grall Subject: [PATCH v8 09/46] OvmfPkg: Prepare OvmfPkg to use the VmgExitLib library Date: Tue, 19 May 2020 16:50:37 -0500 Message-Id: <2fd73ece7e6cfc0212b31646f4ea4bae6f6d51a8.1589925074.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: DM6PR11CA0048.namprd11.prod.outlook.com (2603:10b6:5:14c::25) 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 DM6PR11CA0048.namprd11.prod.outlook.com (2603:10b6:5:14c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25 via Frontend Transport; Tue, 19 May 2020 21:51:37 +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: 66a4c97e-6cfa-43e0-e566-08d7fc3ece6d X-MS-TrafficTypeDiagnostic: DM5PR12MB2504: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-Forefront-PRVS: 040866B734 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BFg40DPW+CHWwZFCDEaVhPgvvWNGUhvz0Lb+JvpEfQ6GLlrU2CsQc0B9/Mq4DoZjAvQeXV06Ab2MUYd0poEa6H+Mi6pKAfVPbZ1Dh5vFxbM4AeE0nz+Kw1EUT21JZshLQ9NWZMsBwQALzgGHbKeYJRz7psOZKZhQ7V64LvH5czfznPtWBwfKNZ5aIpTTjbNh2aVtZ629RveD1X3zoPn890rx9mQ3EQDohnPBpkLs+s8l2wEzztVwJhcfR3c4UYAahC/aSoc0tjatiCqdSXZzrlhYLeVE1nGyYxtzaKz0bk/JH5iC+P5o4CC24Jh8BrQXTDgD0U9gkZjUcw5BOT+tf1rB7Bu1XvXqxTb+D74/E9Oql3S0NS6SHadz/qpVVLagE0OScmwaC+6VPSB2FfMb8nOfCa75zbttdFrvBzJgMuuEySZzcUOJ4wQ1cXAQ4ByKJhhsMiarshFeK0HgYKqgV6LiRcHBuy09dvVUwfjjXUxg/wjmnpzxFLHMCw0RSkKGA9+P5M4DvfeV2U4UCTfk+MaJCRb+UPm1B9O7bo9OF5e1vXW8bYjkwlRsSJtG1eEJ0RvYS9hjS3UkGDOSnBdOZw== 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)(136003)(346002)(396003)(366004)(316002)(86362001)(2906002)(54906003)(7696005)(52116002)(2616005)(956004)(66946007)(66476007)(19627235002)(66556008)(36756003)(26005)(16526019)(186003)(7416002)(4326008)(8676002)(5660300002)(966005)(6486002)(8936002)(6916009)(478600001)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Dt/G0eeelDlI2jj4s3czTMja3VHZ0SOFgGflPMzGHQ+ZlFkjSCWj2or/sDJ9SajuthTqb+qfziU/2FJ0JG0gk7IqPZFcUX6doOtESNeMZB0BUkwZmzvihoVa1tSHp7No4scJxNJnzA0kl+l4XpxMVDF/0ZoTJ57RxG0vfTRD5xlCP/MiKXpohs4E+7j0jJfHYw4exkBs8f7ZK9QQAfXLQsIumf6kJ28NSZabUx/nl3YKx7YbhN57ARWBowphRLyevRkcXET6nsPslh+Ew0m4D65razefP6C/+HrkuQihhWbumFMFy8L/2jrDDhz2K75EzLmzyNxg8K1Qqt1pr33nAhYj3fjUvTIALY0m1Bd4/fLzNzAI4OGr2s6SDDTU8Xkn3kv2QrIrOVLsuqEGBxsBc7O6kyEV/MMSYbIdIopPZMOdLA8G6qfuFjqKiLk5GQUy89Tz9idIm4NtOMko7sSZ3G7mKXGQ/vVuT9URAEj4l+Q= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66a4c97e-6cfa-43e0-e566-08d7fc3ece6d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2020 21:51:37.9524 (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: aOmIeqQcaq/a8+rili5JO/4E4WXdwf2cUZMH9WX0pSTgq0sGAzpcPUhor7YfzngDupzqFJaIR0QYFCouMY/8eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2504 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 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 d0df9cbbfb2b..7d7297aa1cd8 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -228,6 +228,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index b3ae62fee92b..c85e988372ec 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -232,6 +232,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index f7fe75ebf531..0b9189ab1e38 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -232,6 +232,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.SEC] TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 3af0ee705407..a3ba96f7002a 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -213,6 +213,7 @@ [LibraryClasses] [LibraryClasses.common] BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.SEC] QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf -- 2.17.1