Re: [Qemu-devel] [PATCH v1 1/1] hw: register: Run post_write hook on reset

2018-02-02 Thread Alistair Francis
On Fri, Feb 2, 2018 at 12:24 PM, Philippe Mathieu-Daudé wrote: > Hi Alistair, > > On 02/02/2018 04:38 PM, Alistair Francis wrote: >> Ensure that the post write hook is called during reset. This allows us >> to rely on the post write functions instead of having to call them from

Re: [Qemu-devel] [PATCH v1 1/1] hw: register: Run post_write hook on reset

2018-02-02 Thread Philippe Mathieu-Daudé
Hi Alistair, On 02/02/2018 04:38 PM, Alistair Francis wrote: > Ensure that the post write hook is called during reset. This allows us > to rely on the post write functions instead of having to call them from > the reset() function. This makes sens. Can you add a comment about this new behavior

[Qemu-devel] [PATCH v1 1/1] hw: register: Run post_write hook on reset

2018-02-02 Thread Alistair Francis
Ensure that the post write hook is called during reset. This allows us to rely on the post write functions instead of having to call them from the reset() function. Signed-off-by: Alistair Francis --- hw/core/register.c | 8 1 file changed, 8 insertions(+)