From d187e08dc4d0793dab1a9747b72b17a1cf0d3e43 Mon Sep 17 00:00:00 2001 From: Anton Nefedov Date: Tue, 14 Feb 2017 09:25:22 +0300 Subject: i386/cpu: add crash-information QOM property Windows reports BSOD parameters through Hyper-V crash MSRs. This information is very useful for initial crash analysis and thus it would be nice to have a way to fetch it. Signed-off-by: Anton Nefedov Signed-off-by: Denis V. Lunev Message-Id: <1487053524-18674-2-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini --- kvm-all.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kvm-all.c') diff --git a/kvm-all.c b/kvm-all.c index a27c880c05..64f46c8ee7 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -2000,6 +2000,7 @@ 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_mutex_unlock_iothread(); -- cgit v1.2.3-55-g7522