diff options
author | Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de> | 2012-01-12 16:43:03 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-01 11:43:33 +0200 |
commit | bdb42f5afebe208eae90406959383856ae2caf2b (patch) | |
tree | e58d3b8aedf30b9f42689a7d0ee752600be3f938 /tools/lguest/extract | |
parent | 50e92b3c971129c96a5fffb51dd42691e2ee4004 (diff) | |
download | blackbird-op-linux-bdb42f5afebe208eae90406959383856ae2caf2b.tar.gz blackbird-op-linux-bdb42f5afebe208eae90406959383856ae2caf2b.zip |
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: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'tools/lguest/extract')
0 files changed, 0 insertions, 0 deletions