[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH] Allow QEMUMachine to override reset
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH] Allow QEMUMachine to override reset sequencing |
Date: |
Wed, 08 Aug 2012 07:53:41 +1000 |
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.