Hi Marc-André,
I encounter a problem when trying to use vhost-user-gpu as below. And
I'm not familiar to the libvirt code. Could you please help find out
the reason?
# virsh create snap1.xml
error: Failed to create domain from snap1.xml
error: operation failed: Unable to find a satisfying vhost-user-gpu
Check if you have /usr/share/qemu/vhost-user/50-qemu-gpu.json and if the binary location is correct.
If it fails after that, enable libvirt debugging for more details.
hope that helps
qemu-4.1.1:
# ./vhost-user-gpu -v -s /home/vgpu.sock -r /dev/dri/renderD128
libvirt-5.8.0:
<graphics type='spice' port='5901' tlsPort='5903' autoport='yes'>
<listen type='socket' socket='/tmp/spice.socket1'/>
<gl enable='yes' rendernode='/dev/dri/renderD128'/>
</graphics>
<video model='virtio'>
<driver name='vhostuser'/>
<acceleration accel3d='yes' rendernode='/dev/dri/renderD128'/>
</video>
thanks,
Jun