diff options
author | Gleb Natapov | 2010-05-10 10:21:34 +0200 |
---|---|---|
committer | Marcelo Tosatti | 2010-05-11 19:03:44 +0200 |
commit | 4513d9232badcc5039d69dae946054ba2682c258 (patch) | |
tree | 5eb6a23d01375e7123a0674bc48f48171c5c5fe2 /kvm.h | |
parent | kvm: enable smp > 1 (diff) | |
download | qemu-4513d9232badcc5039d69dae946054ba2682c258.tar.gz qemu-4513d9232badcc5039d69dae946054ba2682c258.tar.xz qemu-4513d9232badcc5039d69dae946054ba2682c258.zip |
Do not stop VM if emulation failed in userspace.
Continue vcpu execution in case emulation failure happened while vcpu
was in userspace. In this case #UD will be injected into the guest
allowing guest OS to kill offending process and continue.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -140,6 +140,8 @@ void kvm_arch_remove_all_hw_breakpoints(void); void kvm_arch_update_guest_debug(CPUState *env, struct kvm_guest_debug *dbg); +bool kvm_arch_stop_on_emulation_error(CPUState *env); + int kvm_check_extension(KVMState *s, unsigned int extension); uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, |