]> git.proxmox.com Git - qemu.git/blobdiff - kvm.h
Introduce kvm_check_extension to check if KVM extensions are supported
[qemu.git] / kvm.h
diff --git a/kvm.h b/kvm.h
index 0ea24266be2ac65e0371d8115442055b4e11c76d..25b120cba6315dad48023d99faf167e665ba5dac 100644 (file)
--- a/kvm.h
+++ b/kvm.h
@@ -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)