Please do not add patches to the bugtracker. Post them to the mailing list instead. See http://wiki.qemu-project.org/Contribute/SubmitAPatch for information how to contribute a patch.
(and I am also not sure whether SIGHUP is the right signal for this job - the original request was also about SIGQUIT instead) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1217339 Title: SIGQUIT to send ACPI-shutdown to Guest Status in QEMU: New Bug description: When qemu receives SIGQUIT, it should first try to run system_powerdown (giving the guest an ACPI signal to begin the shutdown process), before ending the whole qemu process. At this point there is no way to do a graceful shutdown if you do not have access to the monitor and you do not use any wrapper like libvirt. If, for some reason SIGQUIT would not be accepted as the signal, take any free to use signal, like SIGUSR1. There should be a way to get ACPI shutdown sent to the guest. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1217339/+subscriptions
