This RfC series adds support for a vgpu display to the qemu vfio code. The region display is completely untested. The dmabuf support has some debug code left in for now which will be removed for the final version.
Patches 1-5 apply fine to qemu git master. Patch 6 depends on the dma-buf series sent a few minutes ago. Gerd Hoffmann (6): headers: update linux-headers/linux/vfio.h (intel-gvt kernel patches, v15) headers: add drm/drm_fourcc.h to standard-headers ui/pixman: add qemu_drm_format_to_pixman() vfio/display: core & wireup vfio/display: adding region support vfio/display: add dmabuf support (v15) hw/vfio/pci.h | 22 ++ include/standard-headers/drm/drm_fourcc.h | 382 ++++++++++++++++++++++++++++++ include/ui/qemu-pixman.h | 1 + linux-headers/linux/vfio.h | 62 +++++ hw/vfio/display.c | 317 +++++++++++++++++++++++++ hw/vfio/pci.c | 9 + ui/qemu-pixman.c | 20 ++ hw/vfio/Makefile.objs | 2 +- scripts/update-linux-headers.sh | 4 + 9 files changed, 818 insertions(+), 1 deletion(-) create mode 100644 include/standard-headers/drm/drm_fourcc.h create mode 100644 hw/vfio/display.c -- 2.9.3