Also works on Jammy for me, again sharing the XML representing the guest
so you can compare.
<domain type='kvm'>
<name>n-guest</name>
<uuid>a06f0cc8-1a5b-41f8-a4ad-a7ce7151325a</uuid>
<metadata>
<uvt:ssh_known_hosts
xmlns:uvt="https://launchpad.net/uvtool/libvirt/1">ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABgQDOndm3a1HCdkmMh1YUhZ7S2fwIB+nd5ehdLROwhelQn4juWkODm4/GaWAbI1ahdN9EGriox+UjgGU6u3ZWY8a9Peg88ctsC/RruWEBV7LFokne6ZUPS2aSCnK5UgkWa1YEtTCBjxMZJTNyCFQQFn5H4wEpbuQtciEVWRW0McqaUp4Tmp9L+ICMXrMvb1zzM1tCF7dnwcGgzCDKzVtA28FBkyyYfMvZif21iP+uGcDKQcb/hDpSsV9xiApC9l9jZD/mk8OHuD3m79bwhHe2/IN9KzJtv34IiMWTCKg8XJAM+3GCtRlN21qOqzw97DTVg1aYW1YgKu7Jh1Phqce4CV9/yFKXuSMktUeHBhT0PIDY8FOxqHT9ISiUHgD3WOyzOpffVgJdvordCFMOrfBdwtQEtHbWDt3YbJMjahEPa1OV7T5cfvafAKNcRBmqnDHKTv9R1nDb9vE3GJ2AOYuLNtxbKR88EDMC5zqQ3wZzWJcfC5sKgpJiVNMPH3X/AMUYcl0=
root@localhost
ssh-dss
AAAAB3NzaC1kc3MAAACBALB2eU8+sQGTfvRoA2eDnSgWRs255kvnE6aISFE3c+syf4IXW0BAEs41Ywxej6QMKqlXzddsn6PtVkC83jGYPjR4Q5Qkre2IHvsKtssL27ep1T6k+i7KyJ4e9RA3aaBkjKsN84r+H1uwDOLj/mZ30G1tk7Pg4A8RAmCaxW6pYCm7AAAAFQCvl3G64JSlZ+yial5nvy/ozsYANQAAAIAoxkMZylIASgSP6Kx/nvRDzRYOAex5DvVKPKel4RbGXGpWBrMRH82aKnn5biV0Lp5tXk7MO1i2WJHicCKvVbQei2Uc/hCWYmIeC/AQTZPPU2b//6lME+l5eM1Iz3nkvcum5IZnt5GKX16qSm8eHkTweO74gAHRFsU4rTXXmx5t4AAAAIEAl56Cq6GPrexmpTc8uP6AOyeNwqIHGYM9SkLQLYeNBCkkBr3PQwDRlc105SxaAqedTriQmykyjVMKORWzkxkGPxtyy3f/iIk3yN8jydmfoECh8X79QFu7LNm0v5irz5G8rnGxRaDoHuO+xtDLyM/zk2vgiCOeF5vgzR9sl4Gx200=
root@localhost
ecdsa-sha2-nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDTOEWPi3GdT5stfwGhPdUATNwSAinPwnTpT3D3zqOML0OIMuclVp/WXN51VHPJY3nDd+AxWTjLwG3NfMeb3/Dc=
root@localhost
ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIO5ztK9BiR8YJFRiHPeVt8HynT9b7z/3mO06OAh3hWP8
root@localhost
</uvt:ssh_known_hosts>
</metadata>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<memoryBacking>
<source type='memfd'/>
<access mode='shared'/>
</memoryBacking>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-jammy'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode='host-model' check='partial'/>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/uvtool/libvirt/images/n-guest.qcow'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00'
function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/uvtool/libvirt/images/n-guest-ds.qcow'/>
<target dev='vdb' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00'
function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00'
function='0x0'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f'
function='0x2'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'
multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0x14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0x15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0x16'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x6'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00'
function='0x0'/>
</controller>
<filesystem type='mount' accessmode='passthrough'>
<driver type='virtiofs'/>
<source dir='/var/guests/n-guest'/>
<target dir='myfs'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00'
function='0x0'/>
</filesystem>
<interface type='network'>
<mac address='52:54:00:88:98:63'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00'
function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<audio id='1' type='spice'/>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'
primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00'
function='0x0'/>
</memballoon>
</devices>
</domain>
virtiofsd log of that run:
$ sudo cat /var/log/libvirt/qemu/n-guest-fs0-virtiofsd.log
virtio_session_mount: Waiting for vhost-user socket connection...
virtio_session_mount: Received vhost-user socket connection
virtio_loop: Entry
fv_queue_set_started: qidx=0 started=1
fv_queue_set_started: qidx=1 started=1
fv_queue_thread: Start for queue 1 kick_fd 12
fv_queue_thread: Start for queue 0 kick_fd 9
fv_queue_set_started: qidx=0 started=0
fv_queue_thread: kill event on queue 0 - quitting
fv_remove_watch: TODO! fd=9
fv_queue_set_started: qidx=1 started=0
fv_queue_thread: kill event on queue 1 - quitting
fv_remove_watch: TODO! fd=12
virtio_loop: Unexpected poll revents 11
virtio_loop: Exit
So the output is slightly different for the older virtiofsd server, but
all working fine still
--
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