So we have a chance to debug it.
Signed-off-by: Avi Kivity <[email protected]>
---
qemu-kvm.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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)
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html