]> git.proxmox.com Git - mirror_qemu.git/commit
hw/display/virtio-vga: Convert TYPE_VIRTIO_VGA_BASE to 3-phase reset
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Nov 2022 11:52:35 +0000 (11:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Dec 2022 15:59:07 +0000 (15:59 +0000)
commit0d898904668f806cea474077eb2b7fa53b3ef4e0
treef45d1bac4e75d1cf9ec23baca1deab6ee061c3c2
parent54da41834fc8d19004ab2401074b3f70d518aef0
hw/display/virtio-vga: Convert TYPE_VIRTIO_VGA_BASE to 3-phase reset

Convert the TYPE_VIRTIO_VGA_BASE class to 3-phase reset, so we
don't need to use device_class_set_parent_reset() any more.

Note that this is an abstract class itself; none of the subclasses
override its reset method.

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-3-peter.maydell@linaro.org
hw/display/virtio-vga.c
hw/display/virtio-vga.h