From ad7b8b33108a6bf610b9492b1f204e660e488e99 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Fri, 8 May 2009 15:33:24 -0500 Subject: Introduce kvm_check_extension to check if KVM extensions are supported Signed-off-by: Anthony Liguori --- kvm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kvm.h') diff --git a/kvm.h b/kvm.h index 0ea2426..25b120c 100644 --- 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) -- cgit v1.1