[Pkg-libvirt-maintainers] Bug#916587: AppArmor breaks virtio-gpu + virgl

Hillel Lubman shtetldik at gmail.com
Thu Jan 31 21:41:49 GMT 2019


How exactly do you see these logs?

I'm trying to start a Linux guest on Debian testing host, using virt-manager and user session.
I enabled OpenGL and 3D acceleration and it fails like this:

Error starting domain: internal error: qemu unexpectedly closed the monitor

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1400, in startup
    self._backend.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor

When OpenGL isn't enabled, it starts fine.  I have libvirglrenderer0 installed. I wonder if it's related to the above apparmor issue.

Editing  /etc/apparmor.d/libvirt/TEMPLATE.qemu didn't help in my case either.

Regards,
Hillel Lubman.



More information about the Pkg-libvirt-maintainers mailing list