Ah,  tested with uvt and created a jammy VM.  After changing the memory
to shared and adding the shared directory,  I get the same issue... so
again pointing to something (subtle?) with libvirt:

Error starting domain: internal error: process exited while connecting to 
monitor: 2024-10-09T22:43:58.738014Z qemu-system-x86_64: -device 
vhost-user-fs-pci,id=fs0,chardev=chr-vu-fs0,tag=mydir,bus=pci.7,addr=0x0: 
Failed to read msg header. Read 0 instead of 12. Original request 36.
2024-10-09T22:43:58.738071Z qemu-system-x86_64: -device 
vhost-user-fs-pci,id=fs0,chardev=chr-vu-fs0,tag=mydir,bus=pci.7,addr=0x0: 
vhost_backend_init failed: Protocol error

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/dist-packages/libvirt.py", line 1353, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to 
monitor: 2024-10-09T22:43:58.738014Z qemu-system-x86_64: -device 
vhost-user-fs-pci,id=fs0,chardev=chr-vu-fs0,tag=mydir,bus=pci.7,addr=0x0: 
Failed to read msg header. Read 0 instead of 12. Original request 36.
2024-10-09T22:43:58.738071Z qemu-system-x86_64: -device 
vhost-user-fs-pci,id=fs0,chardev=chr-vu-fs0,tag=mydir,bus=pci.7,addr=0x0: 
vhost_backend_init failed: Protocol error

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083988

Title:
  Cannot use virtiofs on Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2083988/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to