Hi guys,
I’m running a win10 VM on manjaro using libvirt and qemu with VFIO passthrough.
In order to use it on the same monitor I’m using looking-glass.
This entire setup worked fine, until earlier today.
Everytime I try to start the VM, I get the following error:
Error starting domain: internal error: qemu unexpectedly closed the monitor: 2022-03-18T19:58:30.087433Z qemu-system-x86_64: can't open backing store /dev/shm/looking-glass for guest RAM: Permission denied
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
self._backend.create()
File "/usr/lib/python3.10/site-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2022-03-18T19:58:30.087433Z qemu-system-x86_64: can't open backing store /dev/shm/looking-glass for guest RAM: Permission denied
What did I try already?
All the things that come up in other forum topics with this issue (like this
I’ve checked the apparmor rules:
/etc/apparmor.d/abstractions/libvirt-qemu
dev/shm/looking-glass rw,
I also disabled apparmor completely, no dice.
I tried changing user and group to root in
/etc/libvirt/qemu.conf
still to no avail. And to be honest not my preferred solution, as it worked fine without root and with apparmor
Any help would be appreciated!