Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/include/xhyve/vmm/intel/vmx_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
#define PROCBASED2_ENABLE_INVPCID (1u << 12)
#define PROCBASED2_VMCS_SHADOW (1u << 14)
#define PROCBASED2_RDSEED_EXITING (1u << 16)
#define PROCBASED2_XSAVES (1u << 20)

/* VM Exit Controls */
#define VM_EXIT_SAVE_DEBUG_CONTROLS (1u << 2)
Expand Down
3 changes: 2 additions & 1 deletion src/lib/vmm/intel/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
PROCBASED2_RDRAND_EXITING | \
PROCBASED2_ENABLE_INVPCID /* FIXME */ | \
PROCBASED2_RDSEED_EXITING | \
PROCBASED2_VMCS_SHADOW)
PROCBASED2_VMCS_SHADOW | \
PROCBASED2_XSAVES)
#define PINBASED_CTLS_ONE_SETTING \
(PINBASED_EXTINT_EXITING | \
PINBASED_NMI_EXITING | \
Expand Down