qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1217339] [PATCH v2] Unix signal to send ACPI-shutd


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [Bug 1217339] [PATCH v2] Unix signal to send ACPI-shutdown to Guest
Date: Mon, 20 Mar 2017 09:55:33 +0000
User-agent: Mutt/1.7.1 (2016-10-04)

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/ :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]