diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-12-02 12:21:30 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-05 13:57:16 +0100 |
commit | 55412b2eda2b783ef37316eb06ba91fa63ae049d (patch) | |
tree | 8eff0de0c34eacb8f9dbb989c4d64e8a5c3cf2c5 /arch/x86/include/asm/vmx.h | |
parent | KVM: x86: use F() macro throughout cpuid.c (diff) | |
download | linux-55412b2eda2b783ef37316eb06ba91fa63ae049d.tar.xz linux-55412b2eda2b783ef37316eb06ba91fa63ae049d.zip |
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 |