]> git.proxmox.com Git - mirror_qemu.git/blobdiff - kvm-all.c
sPAPR: Introduce rtas_ldq()
[mirror_qemu.git] / kvm-all.c
index c6f51287569cb7f8ea9ed9801745f03a470339cd..de1924c4676f7c921860083835325bf85a795e93 100644 (file)
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1889,6 +1889,12 @@ int kvm_cpu_exec(CPUState *cpu)
                 qemu_system_reset_request();
                 ret = EXCP_INTERRUPT;
                 break;
+            case KVM_SYSTEM_EVENT_CRASH:
+                qemu_mutex_lock_iothread();
+                qemu_system_guest_panicked();
+                qemu_mutex_unlock_iothread();
+                ret = 0;
+                break;
             default:
                 DPRINTF("kvm_arch_handle_exit\n");
                 ret = kvm_arch_handle_exit(cpu, run);