]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup: allow access to /dev/dri for virtio-vga
authorJán Tomko <jtomko@redhat.com>
Thu, 19 May 2016 07:29:17 +0000 (09:29 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 19 May 2016 08:52:50 +0000 (10:52 +0200)
commit3943bdd60c7ff1de00e73f66d907664b74a88a3f
tree504b5d06f7bdb2c54061ddd1fdefd93c84db199d
parent20a0fa8eb216f03b5e873ed61272083f7a801632
qemu_cgroup: allow access to /dev/dri for virtio-vga

QEMU needs access to the /dev/dri/render* device for
virgl to work.

Allow access to all /dev/dri/* devices for domains with
<video>
  <model type='virtio' heads='1' primary='yes'>
    <acceleration accel3d='yes'/>
  </model>
</video>

https://bugzilla.redhat.com/show_bug.cgi?id=1337290
src/qemu/qemu_cgroup.c