kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest
authorWanpeng Li <wanpeng.li@linux.intel.com>
Tue, 2 Dec 2014 11:21:30 +0000 (19:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Dec 2014 12:57:16 +0000 (13:57 +0100)
commit55412b2eda2b783ef37316eb06ba91fa63ae049d
tree8eff0de0c34eacb8f9dbb989c4d64e8a5c3cf2c5
parent5c404cabd1b5c125653ac573cb9284bdf42b658a
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>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/vmx.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c