]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add vhost-user-gpu helper unit
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 23 Sep 2019 10:44:37 +0000 (14:44 +0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 24 Sep 2019 17:19:09 +0000 (13:19 -0400)
commitfc91a182d7cc78fe5ce0e03ef709c834035e0f33
treece6edc4634b526b49d0a7b165109e972f4ef4a78
parentca60ecfa8cc1bd85baf7137dd1864d5f00f019f0
qemu: add vhost-user-gpu helper unit

Similar to the qemu_tpm.c, add a unit with a few functions to
start/stop and setup the cgroup of the external vhost-user-gpu
process. See function documentation.

The vhost-user connection fd is set on qemuDomainVideoPrivate struct.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/Makefile.inc.am
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_vhost_user_gpu.c [new file with mode: 0644]
src/qemu/qemu_vhost_user_gpu.h [new file with mode: 0644]