Skip to content
Permalink
Browse files

Merge pull request #174 from dx9/disable-vmcs-shadowing

Explicitly disable VMCS shadowing
  • Loading branch information...
jasnee committed Oct 1, 2019
2 parents ce875de + 0c3c50a commit 1f46a3d0bbeb6c90883f302425844fcc3800a776
Showing with 3 additions and 1 deletion.
  1. +1 −0 include/xhyve/vmm/intel/vmx_controls.h
  2. +2 −1 src/vmm/intel/vmx.c
@@ -72,6 +72,7 @@
#define PROCBASED2_PAUSE_LOOP_EXITING (1u << 10)
#define PROCBASED2_RDRAND_EXITING (1u << 11)
#define PROCBASED2_ENABLE_INVPCID (1u << 12)
#define PROCBASED2_VMCS_SHADOW (1u << 14)
#define PROCBASED2_RDSEED_EXITING (1u << 16)

/* VM Exit Controls */
@@ -89,7 +89,8 @@
PROCBASED2_PAUSE_LOOP_EXITING /* FIXME */ | \
PROCBASED2_RDRAND_EXITING | \
PROCBASED2_ENABLE_INVPCID /* FIXME */ | \
PROCBASED2_RDSEED_EXITING)
PROCBASED2_RDSEED_EXITING | \
PROCBASED2_VMCS_SHADOW )
#define PINBASED_CTLS_ONE_SETTING \
(PINBASED_EXTINT_EXITING | \
PINBASED_NMI_EXITING | \

0 comments on commit 1f46a3d

Please sign in to comment.
You can’t perform that action at this time.