Hi, Here is the code to add virtio-pci support for the virtio-gpu. This series depends on the vga pull request sent earlier today the the virtio-1.0 patch series sent last week.
vgabios support is not included yet as this depends on not-yet merged changes in seabios. This series with dependencies, a few more pending vga bits and some hacks to simplify testing (vgabios update, masquerade virtio-vga as stdvga so testing with libvirt works) are available from https://www.kraxel.org/cgit/qemu/log/?h=rebase/vga-wip Gerd Hoffmann (3): virtio-gpu-pci: add virtio pci support virtio-vga: add virtio gpu device with vga compatibility virtio-vga: add '-vga virtio' support default-configs/x86_64-softmmu.mak | 1 + hw/display/Makefile.objs | 2 + hw/display/vga-pci.c | 8 +- hw/display/vga_int.h | 6 ++ hw/display/virtio-gpu-pci.c | 68 +++++++++++++++ hw/display/virtio-vga.c | 174 +++++++++++++++++++++++++++++++++++++ hw/isa/isa-bus.c | 3 + hw/pci/pci.c | 2 + hw/virtio/virtio-pci.h | 14 +++ include/sysemu/sysemu.h | 2 +- qemu-options.hx | 4 +- vl.c | 13 +++ 12 files changed, 291 insertions(+), 6 deletions(-) create mode 100644 hw/display/virtio-gpu-pci.c create mode 100644 hw/display/virtio-vga.c -- 1.8.3.1