Hi, Initial batch of virtio-gpu patches, covering 2D support.
Patch to the virtio spec has been sent to virtio-dev yesterday, a formated version can be found here: https://www.kraxel.org/virtio/ What is the virtio 1.0 state btw? Specs are final, do we have qemu/kernel patches somewhere meanwhile? please review, Gerd Gerd Hoffmann (8): virtio-gpu/2d: add hardware spec include file virtio-gpu/2d: add virtio gpu core code 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 virtio-vga: add vgabios binary virtio-gpu: add to display-vga test Makefile | 2 +- default-configs/x86_64-softmmu.mak | 3 + hw/display/Makefile.objs | 4 + hw/display/virtio-gpu-pci.c | 80 ++++ hw/display/virtio-gpu.c | 863 +++++++++++++++++++++++++++++++++++++ hw/display/virtio-vga.c | 169 ++++++++ hw/pci/pci.c | 2 + hw/virtio/virtio-pci.h | 15 + include/hw/pci/pci.h | 1 + include/hw/virtio/virtgpu_hw.h | 207 +++++++++ include/hw/virtio/virtio-gpu.h | 147 +++++++ include/sysemu/sysemu.h | 2 +- pc-bios/vgabios-virtio.bin | Bin 0 -> 37376 bytes roms/Makefile | 2 +- roms/config.vga-virtio | 6 + tests/Makefile | 3 + tests/display-vga-test.c | 18 + trace-events | 14 + vl.c | 13 + 19 files changed, 1548 insertions(+), 3 deletions(-) create mode 100644 hw/display/virtio-gpu-pci.c create mode 100644 hw/display/virtio-gpu.c create mode 100644 hw/display/virtio-vga.c create mode 100644 include/hw/virtio/virtgpu_hw.h create mode 100644 include/hw/virtio/virtio-gpu.h create mode 100644 pc-bios/vgabios-virtio.bin create mode 100644 roms/config.vga-virtio -- 1.8.3.1