[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RfC PATCH 00/15] virtio-gpu:
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [RfC PATCH 00/15] virtio-gpu: |
Date: |
Mon, 23 Feb 2015 11:23:16 +0100 |
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
- [Qemu-devel] [RfC PATCH 00/15] virtio-gpu:,
Gerd Hoffmann <=
- [Qemu-devel] [RfC PATCH 12/15] virtio-vga: add vgabios configuration, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 03/15] virtio-pci: make pci bars configurable, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 10/15] virtio-vga: virtio-1.0 adaptions [fixup], Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 14/15] virtio-gpu: add to display-vga test, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 15/15] [hack] virtio-gpu: maskerade as -device VGA, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 09/15] virtio-vga: add virtio gpu device with vga compatibility, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 04/15] virtio-pci: make modern bar 64bit prefetchable, Gerd Hoffmann, 2015/02/23
- [Qemu-devel] [RfC PATCH 02/15] virtio-pci: make QEMU_VIRTIO_PCI_QUEUE_MEM_MULT smaller, Gerd Hoffmann, 2015/02/23