From: Avi Kivity <[email protected]>

So we have a chance to debug it.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 4b22537..5568706 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -878,7 +878,8 @@ static int kvm_handle_internal_error(kvm_context_t kvm,
     kvm_show_regs(env);
     if (run->internal.suberror == KVM_INTERNAL_ERROR_EMULATION)
         fprintf(stderr, "emulation failure, check dmesg for details\n");
-    abort();
+    vm_stop(0);
+    return 0;
 }
 
 int kvm_run(CPUState *env)
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to