From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyrIG-0004jw-Gv for qemu-devel@nongnu.org; Fri, 07 Jul 2006 10:26:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyrIE-0004ig-Jb for qemu-devel@nongnu.org; Fri, 07 Jul 2006 10:26:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyrIE-0004ic-G8 for qemu-devel@nongnu.org; Fri, 07 Jul 2006 10:26:54 -0400 Received: from [217.147.80.37] (helo=wrasse.stupids.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FyrIe-00055N-VH for qemu-devel@nongnu.org; Fri, 07 Jul 2006 10:27:21 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by wrasse.stupids.org (Postfix) with ESMTP id 16FE332C504 for ; Fri, 7 Jul 2006 15:26:46 +0100 (BST) From: Martin Garton Content-Type: text/plain Date: Fri, 07 Jul 2006 15:26:47 +0100 Message-Id: <1152282407.5543.13.camel@gartonm-desktop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Trapping ctrl-c Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu devel Hi, Now that ACPI is supported, does anyone agree that it would make sense to trap SIGINT (any perhaps SIGTERM) and use it to generate an acpi power button event? That way, operating systems that support it could shut down cleanly. This would be particularly useful when you have multiple qemu instances running with the vnc option and would mean the user does not have to use vnc multiple times to shut down but instead could just do "killall qemu" -- Martin.