I have a shared folder using virtio-9p, when I attempt to launch workstation I get the following error:
Error starting domain: internal error: QEMU unexpectedly closed the monitor (vm=‘Whonix-Workstation’): 2025-11-06T00:56:15.934639Z qemu-system-x86_64: -device {“driver”:“virtio-9p-pci”,“id”:“fs0”,“fsdev”:“fsdev-fs0”,“mount_tag”:“shared”,“bus”:“pci.6”,“addr”:“0x0”}: cannot initialize fsdev ‘fsdev-fs0’: failed to open ‘/home/user/shared’: Permission denied
Traceback (most recent call last):File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 67, in cb_wrappercallback(asyncjob, *args, **kwargs)~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 101, in tmpcbcallback(*args, **kwargs)~~~~~~~~^^^^^^^^^^^^^^^^^File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 57, in newfnret = fn(self, *args, **kwargs)File “/usr/share/virt-manager/virtManager/object/domain.py”, line 1446, in startupself._backend.create()~~~~~~~~~~~~~~~~~~~~^^File “/usr/lib/python3.13/site-packages/libvirt.py”, line 1390, in createraise libvirtError(‘virDomainCreate() failed’)libvirt.libvirtError: internal error: QEMU unexpectedly closed the monitor (vm=‘Whonix-Workstation’): 2025-11-06T00:56:15.934639Z qemu-system-x86_64: -device {“driver”:“virtio-9p-pci”,“id”:“fs0”,“fsdev”:“fsdev-fs0”,“mount_tag”:“shared”,“bus”:“pci.6”,“addr”:“0x0”}: cannot initialize fsdev ‘fsdev-fs0’: failed to open ‘/home/user/shared’: Permission denied
If I switch to virtiofs and enable shared memory (sidenote, could shared memory pose a potential de-anonymization risk if some malicious program that can analyze memory pages is installed?) then workstation launches, although it doesn’t actually mount the folder to /mnt/shared. The permissions are configured correctly as drwxrwxrwx, I have also tried drwsrwsrwx, as well as running virt-manager as su, and the issue persists.