qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Unix signal to send ACPI-shutdown to Guest


From: Andrew Wood
Subject: [Qemu-devel] Unix signal to send ACPI-shutdown to Guest
Date: Sat, 28 Apr 2018 23:59:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Ive been looking into the possibility of using a unix signal to send an acpi shutdown request to a VM, and came across a posting on this l in March 1. See https://lists.nongnu.org/archive/html/qemu-devel/2017-03/msg04169.html


To summarise to refresh memories  there was a patch proposed using SIGINT followed by discussion as to why SIGINT wasnt ideal because it would cause regressions for anyone relying on the existing handling of SIGINT, and various other signals were considered including HUP & USR1 & USR2 all of which are already used for something else.

Is SIGPWR a suitable candidate, I have made a patch to use SIGPWR but as Im new to QEMUs internals Im not sure if there are any circumstances in which an alternative handler is registered for SIGPWR which might conflict?

Regards

Andrew




reply via email to

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