diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-12-02 14:21:30 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-05 15:57:16 +0300 |
commit | 55412b2eda2b783ef37316eb06ba91fa63ae049d (patch) | |
tree | 8eff0de0c34eacb8f9dbb989c4d64e8a5c3cf2c5 /arch/x86/include/asm/vmx.h | |
parent | 5c404cabd1b5c125653ac573cb9284bdf42b658a (diff) | |
download | linux-55412b2eda2b783ef37316eb06ba91fa63ae049d.tar.xz |
kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest
Expose the XSAVES feature to the guest if the kvm_x86_ops say it is
available.
Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/vmx.h')
-rw-r--r-- | arch/x86/include/asm/vmx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h index bcbfade26d8d..08dc770bd340 100644 --- a/arch/x86/include/asm/vmx.h +++ b/arch/x86/include/asm/vmx.h @@ -69,6 +69,7 @@ #define SECONDARY_EXEC_PAUSE_LOOP_EXITING 0x00000400 #define SECONDARY_EXEC_ENABLE_INVPCID 0x00001000 #define SECONDARY_EXEC_SHADOW_VMCS 0x00004000 +#define SECONDARY_EXEC_XSAVES 0x00100000 #define PIN_BASED_EXT_INTR_MASK 0x00000001 |