]> git.proxmox.com Git - mirror_qemu.git/blobdiff - kvm-all.c
usb-ccid: better bulk_out error handling
[mirror_qemu.git] / kvm-all.c
index a27c880c05df616c3e02c93a24118a51d281d2f0..0c94637c463ad14fa6ab6b9ce8ac4fceaad4d7dd 100644 (file)
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -2000,8 +2000,9 @@ int kvm_cpu_exec(CPUState *cpu)
                 ret = EXCP_INTERRUPT;
                 break;
             case KVM_SYSTEM_EVENT_CRASH:
+                kvm_cpu_synchronize_state(cpu);
                 qemu_mutex_lock_iothread();
-                qemu_system_guest_panicked();
+                qemu_system_guest_panicked(cpu_get_crash_info(cpu));
                 qemu_mutex_unlock_iothread();
                 ret = 0;
                 break;