mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
virtio-vga: add virtio gpu device with vga compatibility
This patch adds a virtio-vga device. It is simliar to virtio-gpu-pci, but it also adds in vga compatibility, so guests without native virtio-gpu support can drive the device in vga mode. It is compatible with stdvga. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
9eafb62d47
commit
c5d4dac86b
5 changed files with 187 additions and 4 deletions
|
@ -219,4 +219,10 @@ extern const uint8_t gr_mask[16];
|
|||
|
||||
extern const MemoryRegionOps vga_mem_ops;
|
||||
|
||||
/* vga-pci.c */
|
||||
void pci_std_vga_mmio_region_init(VGACommonState *s,
|
||||
MemoryRegion *parent,
|
||||
MemoryRegion *subs,
|
||||
bool qext);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue