Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment