aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-11-25 00:33:03 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 15:25:57 -0600
commita0fb002c6462d21ceb9eac8c5772e469ec189374 (patch)
tree03746f1dd29d82b6bf599a0afde1645454ed8593 /kvm.h
parent5a2e3c2e11802215cbb69d6e5ad35b5bdc7d5382 (diff)
downloadqemu-a0fb002c6462d21ceb9eac8c5772e469ec189374.zip
qemu-a0fb002c6462d21ceb9eac8c5772e469ec189374.tar.gz
qemu-a0fb002c6462d21ceb9eac8c5772e469ec189374.tar.bz2
kvm: x86: Add support for VCPU event states
This patch extends the qemu-kvm state sync logic with support for KVM_GET/SET_VCPU_EVENTS, giving access to yet missing exception, interrupt and NMI states. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index e4cbedc..1c93ac5 100644
--- a/kvm.h
+++ b/kvm.h
@@ -47,6 +47,7 @@ int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size);
int kvm_set_migration_log(int enable);
int kvm_has_sync_mmu(void);
+int kvm_has_vcpu_events(void);
void kvm_setup_guest_memory(void *start, size_t size);