mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
hv: keylocker: Enable the tertiary VM-execution controls
In order for a VMM to capture the IWKey values of guests, processors that support Key Locker also support a new "LOADIWKEY exiting" VM-execution control in bit 0 of the tertiary processor-based VM-execution controls. This patch enables the tertiary VM-execution controls. Tracked-On: #5695 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -254,6 +254,7 @@
|
||||
#define MSR_IA32_VMX_TRUE_EXIT_CTLS 0x0000048FU
|
||||
#define MSR_IA32_VMX_TRUE_ENTRY_CTLS 0x00000490U
|
||||
#define MSR_IA32_VMX_VMFUNC 0x00000491U
|
||||
#define MSR_IA32_VMX_PROCBASED_CTLS3 0x00000492U
|
||||
#define MSR_IA32_A_PMC0 0x000004C1U
|
||||
#define MSR_IA32_A_PMC1 0x000004C2U
|
||||
#define MSR_IA32_A_PMC2 0x000004C3U
|
||||
|
@@ -281,6 +281,7 @@
|
||||
#define VMX_PROCBASED_CTLS_RDTSC (1U<<12U)
|
||||
#define VMX_PROCBASED_CTLS_CR3_LOAD (1U<<15U)
|
||||
#define VMX_PROCBASED_CTLS_CR3_STORE (1U<<16U)
|
||||
#define VMX_PROCBASED_CTLS_TERTIARY (1U<<17U)
|
||||
#define VMX_PROCBASED_CTLS_CR8_LOAD (1U<<19U)
|
||||
#define VMX_PROCBASED_CTLS_CR8_STORE (1U<<20U)
|
||||
#define VMX_PROCBASED_CTLS_TPR_SHADOW (1U<<21U)
|
||||
|
Reference in New Issue
Block a user