KVM: x86: Fix CPUID function for word 6 (80000001_ECX)
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Mon, 6 Nov 2017 17:44:23 +0000 (11:44 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Nov 2017 12:20:22 +0000 (13:20 +0100)
commit50a671d4d15b859f447fa527191073019b6ce9cb
tree74434fc1f5330f66ccaba76a0363497ddf9d991c
parent917dc6068bc12a2dafffcf0e9d405ddb1b8780cb
KVM: x86: Fix CPUID function for word 6 (80000001_ECX)

The function for CPUID 80000001 ECX is set to 0xc0000001. Set it to
0x80000001.

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Fixes: d6321d493319 ("KVM: x86: generalize guest_cpuid_has_ helpers")
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.h