Thanks for the update Marius,
I finally had some time to cross check this.

First I created a VM on qemu:///system as it is the way more common
case, which in comparison might later help to pinpoint the issue to be
related to that.

And it turns out, that worked just fine.
First here a log of the steps, and then later I'll go for the same on 
qemu:///session for comparison

# example steps for the setup on qemu:::/system that work

$ apt install uvtool-libvirt virtiofsd virtinst
$ uvt-simplestreams-libvirt --verbose sync --source 
http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=noble
$ uvt-kvm create --password=ubuntu n-lp-2138902 arch=amd64 label=daily 
release=noble
$ virsh shutdown n-lp-2138902
$ virt-xml n-lp-2138902 --edit 1 --memorybacking 
access.mode=shared,source.type=memfd
$ virsh start n-lp-2138902
$ virt-xml n-lp-2138902 --update --add-device --filesystem 
type=mount,accessmode=passthrough,driver.type=virtiofs,source.dir=/mnt,target.dir=mnt

and then in the guest

$ sudo mount -t virtiofs mnt /mnt
$ grep mnt /proc/mounts
mnt /mnt virtiofs rw,relatime 0 0

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

Title:
  session libvirtd crashes when hot adding filesystems

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


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

Reply via email to