<html><body><p><font size="2">Hi Stefan, I believe s390 does support vhost-user. I can bring up a guest with virtio-fs specific options:</font><br><br><font size="2">-chardev socket,id=char0,path=/tmp/vhostqemu  \</font><br><font size="2">-device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs \</font><br><font size="2">-object memory-backend-file,id=mem,size=8G,mem-path=/dev/shm,share=on</font><br><br><font size="2">but leave out the -numa option. I can see virtiofsd is getting messages (with -o debug option) when the guest boots up. But of course if I try to mount inside the guest nothing happens.</font><br><br><img width="16" height="16" src="cid:1__=8FBB0E5CDFC6F1F28f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Stefan Hajnoczi ---12/13/2019 06:02:53 AM---On Thu, Dec 12, 2019 at 01:55:25PM -0500, Gong Su wrote: "><font size="2" color="#424282">Stefan Hajnoczi ---12/13/2019 06:02:53 AM---On Thu, Dec 12, 2019 at 01:55:25PM -0500, Gong Su wrote: > Basically, I'm trying to see if I can get</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Stefan Hajnoczi <stefanha@redhat.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Gong Su <gongsu@us.ibm.com></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">virtio-fs@redhat.com, Cornelia Huck <cohuck@redhat.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">12/13/2019 06:02 AM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[EXTERNAL] Re: [Virtio-fs] virtio-fs on zLinux (s390x)</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">On Thu, Dec 12, 2019 at 01:55:25PM -0500, Gong Su wrote:<br>> Basically, I'm trying to see if I can get virtio-fs to work on zLinux.<br>> Following the instructions on </font></tt><tt><font size="2"><a href="https://virtio-fs.gitlab.io/howto-qemu.html">https://virtio-fs.gitlab.io/howto-qemu.html</a></font></tt><tt><font size="2"> I<br>> was able to compile all the pieces but when I tried to run qemu I realized<br>> that it needs -numa option which isn't supported on s390x yet.<br><br>Does s390 support vhost-user?<br><br>virtio-fs is implemented as a vhost-user device so this is a<br>requirement.  Shared memory is a vhost-user requirement and that's where<br>the -numa command-line option dependency comes from.<br><br>Stefan<br>[attachment "signature.asc" deleted by Gong Su/Watson/IBM] </font></tt><br><br><BR>
</body></html>