mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
hv: emulate IA32_FEATURE_CONTROL MSR
All features controlled by IA32_FEATURE_CONTROL are disabled from guests, so set the Lock bit to prevent it from writing by guests. Also hide the MSR_IA32_FEATURE_CONTROL_VMX_NO_SMX bit from guest. Tracked-On: #1867 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -166,7 +166,7 @@ struct ext_context {
|
||||
#define SECURE_WORLD 1
|
||||
|
||||
#define NUM_WORLD_MSRS 2U
|
||||
#define NUM_COMMON_MSRS 6U
|
||||
#define NUM_COMMON_MSRS 7U
|
||||
#define NUM_GUEST_MSRS (NUM_WORLD_MSRS + NUM_COMMON_MSRS)
|
||||
|
||||
struct event_injection_info {
|
||||
|
Reference in New Issue
Block a user