From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syris-00042U-8x for qemu-devel@nongnu.org; Tue, 07 Aug 2012 17:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syrir-0008BF-91 for qemu-devel@nongnu.org; Tue, 07 Aug 2012 17:53:54 -0400 Message-ID: <1344376421.2698.24.camel@pasglop> From: Benjamin Herrenschmidt Date: Wed, 08 Aug 2012 07:53:41 +1000 In-Reply-To: <1344321711-15782-1-git-send-email-david@gibson.dropbear.id.au> References: <1344321711-15782-1-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Allow QEMUMachine to override reset sequencing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: aliguori@us.ibm.com, qemu-ppc@nongnu.org, agraf@suse.de, qemu-devel@nongnu.org On Tue, 2012-08-07 at 16:41 +1000, David Gibson wrote: > qemu_system_reset() function always performs the same basic actions on > all machines. This includes running all the reset handler hooks, > however the order in which these will run is not always easily predictable. > > This patch splits the core of qemu_system_reset() - the invocation of > the reset handlers - out into a new qemu_devices_reset() function. > qemu_system_reset() will usually call qemu_devices_reset(), but that > can be now overriden by a new reset method in the QEMUMachine > structure. .../... Hi Anthony ! What's your take on this one ? It's a pre-req for a subsequent patch that finally fixes reset/reboot for us, and we'd like to have that latter patch in before the hard freeze :-) But Alex can't really take it until the hook is in. Will you take this hook directly ? Cheers, Ben.