Re: [PATCH 4/9] kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest

2014-12-05 Thread Radim Krčmář
(I somehow managed to review one patch twice instead of this one ...) 2014-12-04 16:57+0100, Paolo Bonzini: > From: Wanpeng Li > > Expose the XSAVES feature to the guest if the kvm_x86_ops say it is > available. > > Signed-off-by: Wanpeng Li > Signed-off-by: Paolo Bonzini > --- Reviewed-by:

[PATCH 4/9] kvm: x86: Add kvm_x86_ops hook that enables XSAVES for guest

2014-12-04 Thread Paolo Bonzini
From: Wanpeng Li Expose the XSAVES feature to the guest if the kvm_x86_ops say it is available. Signed-off-by: Wanpeng Li Signed-off-by: Paolo Bonzini --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/vmx.h | 1 + arch/x86/kvm/cpuid.c| 3 ++- arch/x86/kvm/svm.c