hw/isa/vt82c686: Convert reset handler to DeviceReset
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 10 Oct 2019 13:15:25 +0000 (15:15 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Oct 2019 21:18:08 +0000 (18:18 -0300)
commit9dc1a7699d52c9086950e7a64f0cbc657b70b645
tree0ee2d3149b7b8747250a841094119119e83c7387
parent71d3bacd7f77d06673041be3c50578807cd2555c
hw/isa/vt82c686: Convert reset handler to DeviceReset

The VIA VT82C686 Southbridge 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.

Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191010131527.32513-7-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/isa/vt82c686.c