<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 20, 2023 at 12:15 PM daggs <<a href="mailto:daggs@gmx.com">daggs@gmx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greetings,<br>
<br>
I'm trying to boot a win11 vm with a virtiofs fs and the system just hangs on boot, I'd like some incites on what is the issue.<br>
here is what I'm using:<br>
- kernel 6.3.3<br>
- libvirt 9.3.0<br>
- qemu 8.0.0<br>
- virtiofsd 1.5.1<br></blockquote><div><br></div><div>If you swap your win11 for a linux guest (using the same libvirt xml) are you able to reproduce the error?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I'm using the following cmd to run virtiofsd using socket: virtiofsd --socket-path=/var/lib/libvirt/helpers_state/windows/linux_home.socket --shared-dir /home/daggs --cache auto<br>
where /var/lib/libvirt/helpers_state/windows/ is a tmpfs mount of 16K (tried with 1M too, same behavior)<br>
the virtiofsd invocation is issued inside the prepare and begin qemu hook on libvirt.<br>
I see this after virtiofsd is started: [2023-05-20T08:41:18Z INFO virtiofsd] Waiting for vhost-user socket connection...<br>
and I call it like this: nohup <virtiofsd cmd> &<br>
<br>
the vm's relevant config is this:<br>
<domain type='kvm'><br>
...<br>
<memory unit='KiB'>24582144</memory><br>
<currentMemory unit='KiB'>24582144</currentMemory><br>
<memoryBacking><br>
<source type='memfd'/><br>
<access mode='shared'/><br>
</memoryBacking><br>
<vcpu placement='static'>12</vcpu><br>
<cputune><br>
<vcpupin vcpu='0' cpuset='4'/><br>
<vcpupin vcpu='1' cpuset='5'/><br>
<vcpupin vcpu='2' cpuset='6'/><br>
<vcpupin vcpu='3' cpuset='7'/><br>
<vcpupin vcpu='4' cpuset='8'/><br>
<vcpupin vcpu='5' cpuset='9'/><br>
<vcpupin vcpu='6' cpuset='10'/><br>
<vcpupin vcpu='7' cpuset='11'/><br>
<vcpupin vcpu='8' cpuset='12'/><br>
<vcpupin vcpu='9' cpuset='13'/><br>
<vcpupin vcpu='10' cpuset='14'/><br>
<vcpupin vcpu='11' cpuset='15'/><br>
<emulatorpin cpuset='0-1'/><br>
</cputune><br>
<br>
...<br>
<cpu mode='host-passthrough' check='none' migratable='on'><br>
<topology sockets='1' dies='1' cores='6' threads='2'/><br>
<cache mode='passthrough'/><br>
<feature policy='require' name='topoext'/><br>
</cpu><br>
...<br>
<filesystem type='mount' accessmode='passthrough'><br>
<driver type='virtiofs' queue='1024'/><br>
<binary path='/usr/bin/virtiofsd'/><br>
<source socket='/var/lib/libvirt/helpers_state/windows/linux_home.socket'/><br>
<target dir='linux_home'/><br>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/><br>
</filesystem><br>
...<br>
</domain><br>
<br>
I'm running it via virsh, added -d 4, no errors in the log<br>
when it is stuck, I get a black screen (using gpu pt to guest which work without it), ps shows both virsh start cmd running and stuck, two virtiofsd instances are up.<br>
any ideas how to solve this?<br>
<br>
Thanks,<br>
<br>
Dagg<br>
<br>
_______________________________________________<br>
Virtio-fs mailing list<br>
<a href="mailto:Virtio-fs@redhat.com" target="_blank">Virtio-fs@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/virtio-fs" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/virtio-fs</a><br>
<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">German<br></div></div></div>