diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-01-27 20:44:01 -0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-01-28 13:26:33 -0200 |
commit | 29f89f9662e691af20b52f412c43f08626799751 (patch) | |
tree | c5ec066eb4a702f0b4e1c25b9ff8929b05281171 /kvm.h | |
parent | a524864952978b2996a8ed7716fd5bfe8d687115 (diff) |
qemu-kvm: enable get/set vcpu events on reset and migration
qemu-kvm should reset and save/restore vcpu events.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -52,6 +52,9 @@ int kvm_set_migration_log(int enable); int kvm_has_sync_mmu(void); #endif /* KVM_UPSTREAM */ int kvm_has_vcpu_events(void); +int kvm_put_vcpu_events(CPUState *env); +int kvm_get_vcpu_events(CPUState *env); + #ifdef KVM_UPSTREAM void kvm_setup_guest_memory(void *start, size_t size); @@ -96,7 +99,9 @@ int kvm_arch_init(KVMState *s, int smp_cpus); int kvm_arch_init_vcpu(CPUState *env); +#endif void kvm_arch_reset_vcpu(CPUState *env); +#ifdef KVM_UPSTREAM struct kvm_guest_debug; struct kvm_debug_exit_arch; |