[Virtio-fs] virtio-fs on zLinux (s390x)

Gong Su gongsu at us.ibm.com
Fri Dec 13 15:44:13 UTC 2019


Hi Stefan, I believe s390 does support vhost-user. I can bring up a guest
with virtio-fs specific options:

-chardev socket,id=char0,path=/tmp/vhostqemu  \
-device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs \
-object memory-backend-file,id=mem,size=8G,mem-path=/dev/shm,share=on

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.



From:	Stefan Hajnoczi <stefanha at redhat.com>
To:	Gong Su <gongsu at us.ibm.com>
Cc:	virtio-fs at redhat.com, Cornelia Huck <cohuck at redhat.com>
Date:	12/13/2019 06:02 AM
Subject:	[EXTERNAL] Re: [Virtio-fs] virtio-fs on zLinux (s390x)



On Thu, Dec 12, 2019 at 01:55:25PM -0500, Gong Su wrote:
> Basically, I'm trying to see if I can get virtio-fs to work on zLinux.
> Following the instructions on https://virtio-fs.gitlab.io/howto-qemu.html
I
> was able to compile all the pieces but when I tried to run qemu I
realized
> that it needs -numa option which isn't supported on s390x yet.

Does s390 support vhost-user?

virtio-fs is implemented as a vhost-user device so this is a
requirement.  Shared memory is a vhost-user requirement and that's where
the -numa command-line option dependency comes from.

Stefan
[attachment "signature.asc" deleted by Gong Su/Watson/IBM]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20191213/647ecc1a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20191213/647ecc1a/attachment.gif>


More information about the Virtio-fs mailing list