Hi, Next round of virtio-gpu patches. Patches 1-8 are meant to be merged, patch 9 is a hack to simplify testing with libvirt and will not be merged.
Changes since the RfC submission earlier this month are a bunch of sanity checks being added (mostly pointed out by max) and the virtio-1.0 adaptions are squashed in now. This series depends on virtio 1.0 patches still not merged. This series is also available via git: git://git.kraxel.org/qemu tags/virtio-gpu-2015-03-13 The virtio patches are here (mst's virtio-1.0 branch, rebased to master): git://git.kraxel.org/qemu tags/virtio-mst-rebased-2015-03-13 Guest kernel driver is here: git://git.kraxel.org/linux virtio-gpu Usage: qemu-system-x86_64 -vga virtio [ ... ] qemu-system-x86_64 -device virtio-vga [ ... ] qemu-system-ppc64 -M pseries -device virtio-gpu-pci [ ... ] qemu-system-arm -M virt -device virtio-gpu-device [ ... ] Gerd Hoffmann (9): 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 [hack] virtio-gpu: maskerade as -device VGA Makefile | 2 +- default-configs/x86_64-softmmu.mak | 1 + hw/display/Makefile.objs | 4 + hw/display/vga-pci.c | 2 +- hw/display/virtio-gpu-pci.c | 68 +++ hw/display/virtio-gpu.c | 923 +++++++++++++++++++++++++++++++++++++ hw/display/virtio-vga.c | 152 ++++++ hw/pci/pci.c | 2 + hw/virtio/virtio-pci.h | 15 + include/hw/virtio/virtgpu_hw.h | 203 ++++++++ include/hw/virtio/virtio-gpu.h | 147 ++++++ include/sysemu/sysemu.h | 2 +- pc-bios/vgabios-virtio.bin | Bin 0 -> 37376 bytes qemu-options.hx | 4 +- roms/Makefile | 2 +- roms/config.vga-virtio | 6 + tests/Makefile | 3 + tests/display-vga-test.c | 18 + trace-events | 14 + vl.c | 13 + 20 files changed, 1576 insertions(+), 5 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