]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Implement 'oncrash' events when guest panicked
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Fri, 7 Jun 2013 10:23:34 +0000 (18:23 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 2 Jul 2013 18:02:30 +0000 (12:02 -0600)
commit9aa527dccbb65daeea2bdf5036fbf68015e2ea5d
tree49e7a37942762488e19387a738e3445aa4b19e8a
parente8ccf7ed8ae6530cf3e3dc0051d231c1f67232fe
qemu: Implement 'oncrash' events when guest panicked

Add monitor callback API domainGuestPanic, that implements
'destroy', 'restart' and 'preserve' events of the 'on_crash'
in the XML when domain crashed.
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c