]> git.proxmox.com Git - mirror_qemu.git/commit
hw/acpi/piix4: Convert reset handler to DeviceReset
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 10 Oct 2019 13:15:20 +0000 (15:15 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Oct 2019 21:18:08 +0000 (18:18 -0300)
commit217e8ef9c975fee3aa823391cd1d2fd24d6a546e
treee31df97b21939ae2ad5d12075bec744dcb104fca
parent0533ef5f2089f4f12a0ec5c8035e5e15ba0b5556
hw/acpi/piix4: Convert reset handler to DeviceReset

The PIIX4/PM is a PCI device within the PIIX4 chipset, 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: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191010131527.32513-2-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/acpi/piix4.c