From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtTEF-0001sK-TX for qemu-devel@nongnu.org; Wed, 30 May 2007 14:49:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtTEE-0001rK-Lb for qemu-devel@nongnu.org; Wed, 30 May 2007 14:49:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtTEE-0001qo-GL for qemu-devel@nongnu.org; Wed, 30 May 2007 14:49:02 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HtTED-0001TL-SV for qemu-devel@nongnu.org; Wed, 30 May 2007 14:49:02 -0400 Message-ID: <465DC71A.7020501@gmx.at> Date: Wed, 30 May 2007 20:48:58 +0200 From: Clemens Kolbitsch MIME-Version: 1.0 Subject: RE: [Qemu-devel] QEMU/PCI shutdown event References: <20070530160333.16819gmx1@mx091.gmx.net> In-Reply-To: <20070530160333.16819gmx1@mx091.gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@nongnu.org >>> hi everyone! >>> i'm programming a pci-device that includes some threads & >>> socket-connections (that allow remote debugging of my device). >>> >>> however, i want to cleanly shutdown all threads and sockets when qemu >>> exits... is there an easy way of getting informed of a qemu shutdown? >>> >>> (something similar to pci_device_init...) >>> >>> thanks!! >>> >>> >>> >> You can use qemu_register_reset handler. >> Note that it get's called when the guests exits but not if you just quit >> the monitor. >> >> > dear qemu-developers, > i think it would be very helpful, if such a possibility exists.. maybe > you could consider implementing this in a future release :-) > > just a suggestion ;-) > > greets! > sorry for this aweful post!! seems i forgot to delete half the message :-(