aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-05-08 15:33:24 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-08 15:42:42 -0500
commitad7b8b33108a6bf610b9492b1f204e660e488e99 (patch)
treee0de666bb1ae2ad00ce79f2442f65dc9617b585d /kvm.h
parent4a794a626d6442d66ba32dc4931ea0f336dd87fc (diff)
downloadqemu-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.h2
1 files changed, 2 insertions, 0 deletions
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)