]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Add missing on_crash lifecycle type
authorJohn Ferlan <jferlan@redhat.com>
Mon, 29 Jun 2015 19:22:49 +0000 (15:22 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jun 2015 15:32:50 +0000 (11:32 -0400)
commit0b328383942f1a349ec11f88ce756c4807f236c2
tree8e55ca244761611834ff3084685340affbc23fae
parent5cd985221b77fb2881ba544f1dc1a7ffc7ff833f
qemu: Add missing on_crash lifecycle type

https://bugzilla.redhat.com/show_bug.cgi?id=1201760

When the domain "<on_crash>coredump-destroy</on_crash>" is set, the
domain wasn't being destroyed, rather it was being rebooted.

Add VIR_DOMAIN_LIFECYCLE_CRASH_COREDUMP_DESTROY to the list of
on_crash types that cause "-no-reboot" to be added to the qemu
command line.
src/qemu/qemu_command.c