]> git.proxmox.com Git - mirror_qemu.git/commit
pvpanic: implement crashloaded event handling
authorzhenwei pi <pizhenwei@bytedance.com>
Tue, 14 Jan 2020 02:31:02 +0000 (10:31 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:07 +0000 (20:59 +0100)
commit7dc58deea79a343ac3adc5cadb97215086054c86
tree776cb4cf13cd8e08769346806385760e5857d977
parent600d7b47e8f5085919fd1d1157f25950ea8dbc11
pvpanic: implement crashloaded event handling

Handle bit 1 write, then post event to monitor.

Suggested by Paolo, declear a new event, using GUEST_PANICKED could
cause upper layers to react by shutting down or rebooting the guest.

In advance for extention, add GuestPanicInformation in event message.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20200114023102.612548-3-pizhenwei@bytedance.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/specs/pvpanic.txt
hw/misc/pvpanic.c
include/sysemu/runstate.h
qapi/run-state.json
vl.c