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 <ler...@redhat.com> >Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Reviewed-by: Wei Yang <richardw.y...@linux.intel.com> -- Wei Yang Help you, Help me