kvm: vmx: add MSR logic for XSAVES
authorWanpeng Li <wanpeng.li@linux.intel.com>
Tue, 2 Dec 2014 11:14:59 +0000 (19:14 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Dec 2014 12:57:39 +0000 (13:57 +0100)
commit203000993de5098c9b7da3b131cffa7978029994
tree6ef02e8e4e5bbd6c953c56ac86f52831da0d7577
parentf53cd63c2dfcf8f306f4ed31e78840bf9a04bc0b
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c