Hi, Here is the code to add virtio-pci support for the virtio-gpu. This time it goes on top of master, all dependencies are merged upstream meanwhile. Yea! The only missing bit to make this fully functional is the seabios update which is needed for a working vgabios.
I plan to send a pull req early next week for patches 1-5. Patch 6 carries a vgabios binary, for testing convinience. Note that rebuilding this from the current roms/seabios submodule (rel-1.8.1) will *not* work, you'll need the upcoming 1.8.2 seabios release for that. Seabios update pull request for this will follow after 1.8.2 is released, and it will add the vgabios properly. Gerd Hoffmann (6): virtio-gpu: fix error message virtio-gpu-pci: add virtio pci support virtio-vga: add virtio gpu device with vga compatibility virtio-vga: add '-vga virtio' support virtio-vga: add vgabios configuration [testing-only] virtio-vga: add vgabios binary Makefile | 2 +- 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-gpu.c | 2 +- hw/display/virtio-vga.c | 175 +++++++++++++++++++++++++++++++++++++ hw/isa/isa-bus.c | 3 + hw/pci/pci.c | 2 + hw/virtio/virtio-pci.h | 14 +++ include/sysemu/sysemu.h | 2 +- pc-bios/vgabios-virtio.bin | Bin 0 -> 38912 bytes qemu-options.hx | 4 +- roms/Makefile | 2 +- roms/config.vga-virtio | 6 ++ vl.c | 13 +++ 17 files changed, 301 insertions(+), 9 deletions(-) create mode 100644 hw/display/virtio-gpu-pci.c create mode 100644 hw/display/virtio-vga.c create mode 100644 pc-bios/vgabios-virtio.bin create mode 100644 roms/config.vga-virtio -- 1.8.3.1
