From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPqB3-0001BB-Jh for qemu-devel@nongnu.org; Mon, 23 Feb 2015 05:23:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPqAz-0007LX-0u for qemu-devel@nongnu.org; Mon, 23 Feb 2015 05:23:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPqAy-0007L8-PS for qemu-devel@nongnu.org; Mon, 23 Feb 2015 05:23:44 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1NANh48006311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 23 Feb 2015 05:23:43 -0500 From: Gerd Hoffmann Date: Mon, 23 Feb 2015 11:23:16 +0100 Message-Id: <1424687012-18524-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 00/15] virtio-gpu: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, After a loooong break, here is the next version of virtio-gpu patches. It is the first batch, with the 2d bits, virgl (3d/opengl) support will follow later on. The dust of the virtio-1.0 merge has mostly settled, even though not all virtio-1.0 bits are upstream yet (main reason why this is RfC). My plan is to get virtio-gpu merged upstream as soon as all dependencies are in. This series applies on top of mst's virtio-1.0 branch. Patches 1-4 are virtio-pci patches which have been posted separately already, included here because the virtio-gpu patches depend on them. Patches 5-14 are virtio-gpu and virtio-vga patches. Patches 8+10 with the virtio-1.0 changes depend on patches 1-4. I've kept them separate for now, to simplify review and also to make adaptions easier in case patches 1-4 are changed during review. Patch series is not fully bisectable because of this. For the non-RfC patch series they will of course be squashed in. Patch 15 is a dirty hack to simplify testing with libvirt, this will be dropped for the merge, we'll need proper libvirt support instead. If you wanna play with this, here are host + guest git trees for your convinience: git://git.kraxel.org/qemu tags/virtio-gpu-rfc-2015-02-23 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 (15): virtio-pci: add flags to enable/disable legacy/modern virtio-pci: make QEMU_VIRTIO_PCI_QUEUE_MEM_MULT smaller virtio-pci: make pci bars configurable virtio-pci: make modern bar 64bit prefetchable virtio-gpu/2d: add hardware spec include file virtio-gpu/2d: add virtio gpu core code virtio-gpu-pci: add virtio pci support virtio-gpu-pci: virtio-1.0 adaptions [fixup] virtio-vga: add virtio gpu device with vga compatibility virtio-vga: virtio-1.0 adaptions [fixup] 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 | 903 +++++++++++++++++++++++++++++++++++++ hw/display/virtio-vga.c | 158 +++++++ hw/pci/pci.c | 2 + hw/virtio/virtio-pci.c | 81 +++- hw/virtio/virtio-pci.h | 23 + include/hw/pci/pci.h | 1 + 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 roms/Makefile | 2 +- roms/config.vga-virtio | 6 + tests/Makefile | 3 + tests/display-vga-test.c | 18 + trace-events | 14 + vl.c | 13 + 21 files changed, 1630 insertions(+), 23 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