diff options
author | Avi Kivity <avi@redhat.com> | 2009-05-03 17:04:01 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-08 15:42:52 -0500 |
commit | c6d5f3b1f71ea19f0ac2ac866e1aea27ea7f1f0a (patch) | |
tree | a7188b5c2cee1d41925b6b2c141016300ff2cfe3 /kvm.h | |
parent | cb16cf5468eb3535dd0b048fb89d5b00a1e4e1d6 (diff) | |
download | qemu-c6d5f3b1f71ea19f0ac2ac866e1aea27ea7f1f0a.tar.gz qemu-c6d5f3b1f71ea19f0ac2ac866e1aea27ea7f1f0a.tar.bz2 qemu-c6d5f3b1f71ea19f0ac2ac866e1aea27ea7f1f0a.zip |
kvm: Add support for querying supported cpu features
kvm does not support all cpu features; add support for dunamically querying
the supported feature set.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -120,6 +120,9 @@ void kvm_arch_update_guest_debug(CPUState *env, struct kvm_guest_debug *dbg); int kvm_check_extension(KVMState *s, unsigned int extension); +uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, + int reg); + /* generic hooks - to be moved/refactored once there are more users */ static inline void cpu_synchronize_state(CPUState *env, int modified) |