hw/virtio: Convert TYPE_VIRTIO_PCI to 3-phase reset
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Nov 2022 11:52:34 +0000 (11:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Dec 2022 15:59:07 +0000 (15:59 +0000)
commit54da41834fc8d19004ab2401074b3f70d518aef0
treea3f3f8d06b353609bcf936a2b30c9d63dd24c352
parentd66e64dd006dfbc08f5395e1ca674903d46fa601
hw/virtio: Convert TYPE_VIRTIO_PCI to 3-phase reset

Convert the TYPE_VIRTIO_PCI class to 3-phase reset.  This is
necessary so that we can convert the subclass TYPE_VIRTIO_VGA_BASE
also to 3-phase reset.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20221125115240.3005559-2-peter.maydell@linaro.org
hw/virtio/virtio-pci.c