diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-08 15:33:24 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-08 15:42:42 -0500 |
commit | ad7b8b33108a6bf610b9492b1f204e660e488e99 (patch) | |
tree | e0de666bb1ae2ad00ce79f2442f65dc9617b585d /kvm.h | |
parent | 4a794a626d6442d66ba32dc4931ea0f336dd87fc (diff) | |
download | qemu-ad7b8b33108a6bf610b9492b1f204e660e488e99.zip qemu-ad7b8b33108a6bf610b9492b1f204e660e488e99.tar.gz qemu-ad7b8b33108a6bf610b9492b1f204e660e488e99.tar.bz2 |
Introduce kvm_check_extension to check if KVM extensions are supported
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -118,6 +118,8 @@ void kvm_arch_remove_all_hw_breakpoints(void); void kvm_arch_update_guest_debug(CPUState *env, struct kvm_guest_debug *dbg); +int kvm_check_extension(KVMState *s, unsigned int extension); + /* generic hooks - to be moved/refactored once there are more users */ static inline void cpu_synchronize_state(CPUState *env, int modified) |