[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH 5/5] hw/block/pflash_cfi02: Add the DeviceReset
From: |
Wei Yang |
Subject: |
Re: [Qemu-stable] [PATCH 5/5] hw/block/pflash_cfi02: Add the DeviceReset() handler |
Date: |
Mon, 6 May 2019 09:05:57 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, May 05, 2019 at 10:06:02PM +0200, Philippe Mathieu-Daudé wrote:
>The pflash device is a child of TYPE_DEVICE, so it can implement
>the DeviceReset handler. Actually it has to implement it, else
>on machine reset it might stay in an incoherent state, as it has
>been reported in the buglink listed below.
>
>Add the DeviceReset handler and remove its call from the realize()
>function.
>
>Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1678713
>Reported-by: Laszlo Ersek <address@hidden>
>Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Wei Yang <address@hidden>
--
Wei Yang
Help you, Help me
- Re: [Qemu-stable] [PATCH 2/5] hw/block/pflash_cfi01: Extract the pflash_reset() code, (continued)