Re: [PATCH v2 5/8] hw/ide/via82c: Convert reset handler to DeviceReset

2019-10-09 Thread Li Qiang
Philippe Mathieu-Daudé 于2019年10月8日周二 下午10:36写道: > The VIA82C686B IDE controller is a PCI device, it will be reset > when the PCI bus it stands on is reset. > > Convert its reset handler into a proper Device reset method. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Li Qiang > ---

[PATCH v2 5/8] hw/ide/via82c: Convert reset handler to DeviceReset

2019-10-08 Thread Philippe Mathieu-Daudé
The VIA82C686B IDE controller is a PCI device, it will be reset when the PCI bus it stands on is reset. Convert its reset handler into a proper Device reset method. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/via.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --gi