From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR5rf-0000Q5-SU for qemu-devel@nongnu.org; Wed, 15 Jul 2009 10:53:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR5rf-0000OB-3S for qemu-devel@nongnu.org; Wed, 15 Jul 2009 10:53:47 -0400 Received: from [199.232.76.173] (port=53505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR5re-0000Nt-Vf for qemu-devel@nongnu.org; Wed, 15 Jul 2009 10:53:47 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:5719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MR5re-0000rM-IV for qemu-devel@nongnu.org; Wed, 15 Jul 2009 10:53:46 -0400 Received: by fg-out-1718.google.com with SMTP id d23so1528416fga.8 for ; Wed, 15 Jul 2009 07:53:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1247642357-19735-4-git-send-email-yamahata@valinux.co.jp> References: <1247642357-19735-1-git-send-email-yamahata@valinux.co.jp> <1247642357-19735-4-git-send-email-yamahata@valinux.co.jp> Date: Wed, 15 Jul 2009 17:53:39 +0300 Message-ID: Subject: Re: [Qemu-devel] [PATCH 03/17] acpi.c: make qemu_system_powerdown() piix independent. From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: Marcelo Tosatti , qemu-devel@nongnu.org On 7/15/09, Isaku Yamahata wrote: > Make qemu_system_powerdown() piix independent by > registering callback function. Perhaps we could remove the specific system_powerdown and system_reset systems and use the generic qemu_irq as a reset or power down signal. qemu_irq can already pass an opaque state parameter to the callback, supplied during creation.