commit | bdb42f5afebe208eae90406959383856ae2caf2b | [log] [tgz] |
---|---|---|
author | Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de> | Thu Jan 12 16:43:03 2012 +0100 |
committer | Avi Kivity <avi@redhat.com> | Wed Feb 01 11:43:33 2012 +0200 |
tree | e58d3b8aedf30b9f42689a7d0ee752600be3f938 | |
parent | 50e92b3c971129c96a5fffb51dd42691e2ee4004 [diff] |
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>