]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Adjust usage of qemu -no-reboot and -no-shutdown options
authorJohn Ferlan <jferlan@redhat.com>
Tue, 23 Apr 2013 13:02:07 +0000 (09:02 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 15 May 2013 10:19:32 +0000 (06:19 -0400)
commit0e034efaf9b963760516a65413fd9771034357aa
treee0d178dc9468a67a2084b1aa8a5b9a88e50dc05c
parent85ec7ff6fd3977667975cad4022de99932c82609
Adjust usage of qemu -no-reboot and -no-shutdown options

During building of the qemu command line determine whether to add/use the
'-no-reboot' option only if each of the 'on' events want to to destroy
the domain; otherwise, use the '-no-shutdown' option.

Prior to this change both could be on the command line, which while allowed
could be construed as a conflict.
src/qemu/qemu_command.c