diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-04 17:11:11 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-05 15:57:17 +0300 |
commit | 404e0a19e155e2303a081109f3ae5e625ac8030a (patch) | |
tree | c7ac01f970f148c126b5c17cc2137924b3d7728f /arch/x86/kvm/vmx.c | |
parent | 412a3c411e6df54179f300e8d8d6247327865a2d (diff) | |
download | linux-404e0a19e155e2303a081109f3ae5e625ac8030a.tar.xz |
KVM: cpuid: mask more bits in leaf 0xd and subleaves
- EAX=0Dh, ECX=1: output registers EBX/ECX/EDX are reserved.
- EAX=0Dh, ECX>1: output register ECX bit 0 is clear for all the CPUID
leaves we support, because variable "supported" comes from XCR0 and not
XSS. Bits above 0 are reserved, so ECX is overall zero. Output register
EDX is reserved.
Source: Intel Architecture Instruction Set Extensions Programming
Reference, ref. number 319433-022
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Tested-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions