mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
hv: enable vMCE from guest CPUID
Enable vMCE feature to boot windows guest. vMCE is set in EDX from Microsoft TLFS spec, to support windows guest vMCA and vMCE should be supported by guest CPUID. Support MSR_IA32_MCG_CAP and MSR_IA32_MCG_STATUS reading when vMCE is enabled, but they are not emulated yet, so return 0 directly. Tracked-On: #1867 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -215,7 +215,7 @@ struct ext_context {
|
||||
#define SECURE_WORLD 1
|
||||
|
||||
#define NUM_WORLD_MSRS 2U
|
||||
#define NUM_COMMON_MSRS 7U
|
||||
#define NUM_COMMON_MSRS 9U
|
||||
#define NUM_GUEST_MSRS (NUM_WORLD_MSRS + NUM_COMMON_MSRS)
|
||||
|
||||
#define EOI_EXIT_BITMAP_SIZE 256U
|
||||
|
Reference in New Issue
Block a user