KVM: x86 emulator: change ->get_cpuid() accessor to use the x86 semantics
authorAvi Kivity <avi@redhat.com>
Thu, 7 Jun 2012 11:10:16 +0000 (14:10 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:00 +0000 (14:19 +0300)
Instead of getting an exact leaf, follow the spec and fall back to the last
main leaf instead.  This lets us easily emulate the cpuid instruction in the
emulator.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found