commit | 316314cae15fb0e3869b76b468f59a0c83ac3d4e | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 21 12:33:00 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sun Apr 10 21:53:50 2016 +0200 |
tree | 7ee2d450b5d8972971d17542410890d8559e7a05 | |
parent | fc5b7f3bf1e1414bd4e91db6918c85ace0c873a5 [diff] |
KVM: x86: mask CPUID(0xD,0x1).EAX against host value This ensures that the guest doesn't see XSAVE extensions (e.g. xgetbv1 or xsavec) that the host lacks. Cc: stable@vger.kernel.org Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>