commit | 0017f93a2776597b798ec1a9594e41dfd96d3c11 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Jun 07 14:10:16 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Jul 09 14:19:00 2012 +0300 |
tree | ef0a1e1a409f6d9a5d48894b0256a723c1b1183b | |
parent | 62046e5a867cbff35e0beff42718dda41ff5d74b [diff] |
KVM: x86 emulator: change ->get_cpuid() accessor to use the x86 semantics 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>