Skip to content
Commit bdb42f5a authored by Stephan Bärwolf's avatar Stephan Bärwolf Committed by Avi Kivity
Browse files

KVM: x86: extend "struct x86_emulate_ops" with "get_cpuid"



In order to be able to proceed checks on CPU-specific properties
within the emulator, function "get_cpuid" is introduced.
With "get_cpuid" it is possible to virtually call the guests
"cpuid"-opcode without changing the VM's context.

[mtosatti: cleanup/beautify code]

Signed-off-by: default avatarStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 50e92b3c
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