]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/display: add vhost-user-vga & gpu-pci
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 24 May 2019 13:09:46 +0000 (15:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 May 2019 04:30:45 +0000 (06:30 +0200)
commit267f664658fee4138f80013fa25354191e8091cb
tree4969aadf9db683bd247a676d12d2349281788cb5
parentc68082c43a3ddeb5e5da4ab401e3f9f422e7a290
hw/display: add vhost-user-vga & gpu-pci

Add new virtio-gpu devices with a "vhost-user" property. The
associated vhost-user backend is used to handle the virtio rings and
provide rendering results thanks to the vhost-user-gpu protocol.

Example usage:
-object vhost-user-backend,id=vug,cmd="./vhost-user-gpu"
-device vhost-user-vga,vhost-user=vug

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190524130946.31736-10-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/Kconfig
hw/display/Makefile.objs
hw/display/vhost-user-gpu-pci.c [new file with mode: 0644]
hw/display/vhost-user-gpu.c [new file with mode: 0644]
hw/display/vhost-user-vga.c [new file with mode: 0644]
hw/display/virtio-gpu-pci.c
hw/display/virtio-vga.h
include/hw/virtio/virtio-gpu-pci.h [new file with mode: 0644]
include/hw/virtio/virtio-gpu.h
vl.c