[libvirt] [PATCH v4 00/20] Add vhost-user-gpu support

Cole Robinson crobinso at redhat.com
Thu Sep 19 20:45:09 UTC 2019


On 9/13/19 8:50 AM, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> Hi,
> 
> This series adds support for running virtio GPUs in seperate
> processes, thanks to vhost-user backend.
> 

Some quick notes. I attempted to run this with fedora 31 qemu. The qemu
provided 50-qemu-gpu.json needs the trailing comma removed or libvirt
fails to parse it. I sent a qemu-devel patch to fix that.

If model type='virtio' without driver name='vhostuser', VM startup
crashes libvirt at:

qemuSetupDevicesCgroup (vm=0x7fff9838b160) at qemu/qemu_cgroup.c:826
    if (qemuSetupVideoAccelCgroup(vm, vm->def->videos[i]->accel) < 0)

I didn't look into it any more than that. I will check more tomorrow

Thanks,
Cole




More information about the libvir-list mailing list