KVM: Fix cpuid feature misreporting
commit01564e293011944c3cae1470b39c3697dac3c9b8
authorAvi Kivity <avi@redhat.com>
Mon, 3 Aug 2009 17:57:57 +0000 (3 14:57 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:33 +0000 (8 20:33 -0700)
treeead51c6eb058b8a3144df6e889d7123a09874f32
parent424db486d8dd65c6ddc8b9e05dbe0a87eb5c8a87
KVM: Fix cpuid feature misreporting

(cherry picked from commit 8d753f369bd28fff1706ffe9fb9fea4fd88cf85b)

MTRR, PAT, MCE, and MCA are all supported (to some extent) but not reported.
Vista requires these features, so if userspace relies on kernel cpuid
reporting, it loses support for Vista.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c