summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@linux.intel.com>2014-12-02 12:14:59 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-12-05 13:57:39 +0100
commit203000993de5098c9b7da3b131cffa7978029994 (patch)
tree6ef02e8e4e5bbd6c953c56ac86f52831da0d7577 /arch/x86/include
parentkvm: x86: handle XSAVES vmcs and vmexit (diff)
downloadlinux-203000993de5098c9b7da3b131cffa7978029994.tar.xz
linux-203000993de5098c9b7da3b131cffa7978029994.zip
kvm: vmx: add MSR logic for XSAVES
Add logic to get/set the XSS model-specific register. Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com> Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 0271f6bcf123..0c4c88c008ce 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -362,6 +362,7 @@ struct kvm_vcpu_arch {
int mp_state;
u64 ia32_misc_enable_msr;
bool tpr_access_reporting;
+ u64 ia32_xss;
/*
* Paging state of the vcpu