<html><body><p><font size="2">Hi Igor, that would be great. Thanks.</font><br><br><img width="16" height="16" src="cid:1__=8FBB0E5CDFC5F0F48f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Igor Mammedov ---12/13/2019 08:17:53 AM---On Thu, 12 Dec 2019 14:10:32 -0500 "Gong Su" <gongsu@us.ibm"><font size="2" color="#424282">Igor Mammedov ---12/13/2019 08:17:53 AM---On Thu, 12 Dec 2019 14:10:32 -0500 "Gong Su" <gongsu@us.ibm.com> wrote:</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Igor Mammedov <imammedo@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">"Dr. David Alan Gilbert" <dgilbert@redhat.com>, Cornelia Huck <cohuck@redhat.com>, virtio-fs@redhat.com</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">12/13/2019 08:17 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, 12 Dec 2019 14:10:32 -0500<br>"Gong Su" <gongsu@us.ibm.com> wrote:<br><br>> <br>> Thanks Dave. That was quick!<br>> <br>> Igor, any idea when this will happen? :-)<br>If you need early sneak peek, I can post common + s390 patches.<br><br> <br>> From:                 "Dr. David Alan Gilbert" <dgilbert@redhat.com><br>> To:                 Gong Su <gongsu@us.ibm.com><br>> Cc:                 virtio-fs@redhat.com, Cornelia Huck <cohuck@redhat.com><br>> Date:                 12/12/2019 01:59 PM<br>> Subject:                 [EXTERNAL] Re: [Virtio-fs] virtio-fs on zLinux (s390x)<br>> <br>> <br>> <br>> * Gong Su (gongsu@us.ibm.com) wrote:<br>> ><br>> ><br>> > Hi Stefan, I'm resending my questions to the list per your request.<br>> ><br>> > Basically, I'm trying to see if I can get virtio-fs to work on zLinux.<br>> > Following the instructions on<br>> </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"><br>>   I<br>> > was able to compile all the pieces but when I tried to run qemu I<br>> realized<br>> > that it needs -numa option which isn't supported on s390x yet.<br>> ><br>> > I have talked to Christian Borntraeger (whom I worked with on other<br>> > projects before) and he indicated that he had a plan to add -numa support<br>> > for s390x but currently is busy on other things.<br>> ><br>> > So I'm trying to see if there are other ways for me to go forward without<br>> > having to wait for Christian. I see two options:<br>> ><br>> > 1. Merge virtiofsd into qemu itself. In the "Interchangeability" section<br>> of<br>> > the virtio-fs design page (<br>> </font></tt><tt><font size="2"><a href="https://virtio-fs.gitlab.io/design.html">https://virtio-fs.gitlab.io/design.html</a></font></tt><tt><font size="2"><br>>  ), it<br>> > mentioned that "It is also possible to forego vhost-user and emulate the<br>> > virtio-fs device directly inside the hypervisor, although this may result<br>> > in poor isolation and security." Since each guest typically gets its own<br>> > qemu process, maybe this is acceptable for some use cases. In exchange,<br>> you<br>> > get the benefit of not having to carve out a chunk of memory<br>> from /dev/shm<br>> > (and maybe simpler communication between virtiofsd and qemu).<br>> > 2. Use something other than -numa to share memory between virtiofsd and<br>> > qemu that's supported on zLinux. I'm not entirely familiar with qemu so I<br>> > have no idea whether this is possible or not.<br>> <br>> Hi,<br>>   My understanding is that Igor Mammedov (imammedo@redhat.com) has plans<br>> to allow 'shared' to be set on main memory, so we wouldn't need the numa<br>> code.<br>> <br>> Dave<br>> <br>> > Thanks.<br>> <br>> > _______________________________________________<br>> > Virtio-fs mailing list<br>> > Virtio-fs@redhat.com<br>> ><br>> </font></tt><tt><font size="2"><a href="https://www.redhat.com/mailman/listinfo/virtio-fs">https://www.redhat.com/mailman/listinfo/virtio-fs</a></font></tt><tt><font size="2"><br>> <br>> <br>> --<br>> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK<br>> <br>> <br>> <br>> <br><br></font></tt><br><br><BR>
</body></html>