mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 15:55:37 +00:00
target/i386: Expose VMX entry/exit load pkrs control bits
Expose the VMX exit/entry load pkrs control bits in VMX_TRUE_EXIT_CTLS/VMX_TRUE_ENTRY_CTLS MSRs to guest, which supports the PKS in nested VM. Backports 52a44ad2b92ba4cd81c2b271cd5e4a2d820e91fc
This commit is contained in:
parent
834e2b2643
commit
807d541e19
|
@ -901,6 +901,7 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
|
|||
#define VMX_VM_EXIT_CLEAR_BNDCFGS 0x00800000
|
||||
#define VMX_VM_EXIT_PT_CONCEAL_PIP 0x01000000
|
||||
#define VMX_VM_EXIT_CLEAR_IA32_RTIT_CTL 0x02000000
|
||||
#define VMX_VM_EXIT_LOAD_IA32_PKRS 0x20000000
|
||||
|
||||
#define VMX_VM_ENTRY_LOAD_DEBUG_CONTROLS 0x00000004
|
||||
#define VMX_VM_ENTRY_IA32E_MODE 0x00000200
|
||||
|
@ -912,6 +913,7 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
|
|||
#define VMX_VM_ENTRY_LOAD_BNDCFGS 0x00010000
|
||||
#define VMX_VM_ENTRY_PT_CONCEAL_PIP 0x00020000
|
||||
#define VMX_VM_ENTRY_LOAD_IA32_RTIT_CTL 0x00040000
|
||||
#define VMX_VM_ENTRY_LOAD_IA32_PKRS 0x00400000
|
||||
|
||||
/* Supported Hyper-V Enlightenments */
|
||||
#define HYPERV_FEAT_RELAXED 0
|
||||
|
|
Loading…
Reference in a new issue