Skip to content
Commit 0017f93a authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@redhat.com>
parent 62046e5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment