From: Marcelo Tosatti <[email protected]>

So kernel re-entry is not attempted.

Signed-off-by: Marcelo Tosatti <[email protected]>

diff --git a/qemu-kvm.c b/qemu-kvm.c
index 05caa1c..4b85870 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -889,7 +889,7 @@ static int kvm_handle_internal_error(kvm_context_t kvm,
     if (run->internal.suberror == KVM_INTERNAL_ERROR_EMULATION)
         fprintf(stderr, "emulation failure, check dmesg for details\n");
     vm_stop(0);
-    return 0;
+    return 1;
 }
 
 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