Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / hw / display / virtio-vga.h
blob0bd9db1ceea6f1ca9dd77b67b6d354245228ecfa
1 #ifndef VIRTIO_VGA_H
2 #define VIRTIO_VGA_H
4 #include "hw/virtio/virtio-gpu-pci.h"
5 #include "vga_int.h"
6 #include "qom/object.h"
8 /*
9 * virtio-vga-base: This extends VirtioPCIProxy.
11 #define TYPE_VIRTIO_VGA_BASE "virtio-vga-base"
12 OBJECT_DECLARE_TYPE(VirtIOVGABase, VirtIOVGABaseClass,
13 VIRTIO_VGA_BASE)
15 struct VirtIOVGABase {
16 VirtIOPCIProxy parent_obj;
18 VirtIOGPUBase *vgpu;
19 VGACommonState vga;
20 MemoryRegion vga_mrs[3];
23 struct VirtIOVGABaseClass {
24 VirtioPCIClass parent_class;
26 ResettablePhases parent_phases;
29 #endif /* VIRTIO_VGA_H */