diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2022-11-25 11:52:35 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:59:07 +0000 |
| commit | 0d898904668f806cea474077eb2b7fa53b3ef4e0 (patch) | |
| tree | f45d1bac4e75d1cf9ec23baca1deab6ee061c3c2 /hw/display/virtio-vga.h | |
| parent | 54da41834fc8d19004ab2401074b3f70d518aef0 (diff) | |
| download | focaccia-qemu-0d898904668f806cea474077eb2b7fa53b3ef4e0.tar.gz focaccia-qemu-0d898904668f806cea474077eb2b7fa53b3ef4e0.zip | |
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
Diffstat (limited to 'hw/display/virtio-vga.h')
| -rw-r--r-- | hw/display/virtio-vga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/virtio-vga.h b/hw/display/virtio-vga.h index 977ad5edc2..0bd9db1cee 100644 --- a/hw/display/virtio-vga.h +++ b/hw/display/virtio-vga.h @@ -23,7 +23,7 @@ struct VirtIOVGABase { struct VirtIOVGABaseClass { VirtioPCIClass parent_class; - DeviceReset parent_reset; + ResettablePhases parent_phases; }; #endif /* VIRTIO_VGA_H */ |