On Sat, Mar 18, 2017 at 02:41:16PM +0100, Simon wrote: > Hi, > > The patch below adds the new command-line option `-powerdown' which > changes the behavior for both SIGHUP and SIGINT signals to cause a clean > power down of the guest using an ACPI shutdown request.
If you need to add command line arguments IMHO this feature becomes much less interesting - just use the QEMU monitor instead of inventing an adhoc way to achieve something the monitor already does. The value of using a signal handler comes from the fact that it would be unconditionally available no matter what command line args were added. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|