On Sun, May 05, 2019 at 10:06:00PM +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 <[email protected]> >Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Wei Yang <[email protected]> -- Wei Yang Help you, Help me
