All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Gong Su <gongsu@us.ibm.com>
Cc: virtio-fs@redhat.com, Cornelia Huck <cohuck@redhat.com>
Subject: Re: [Virtio-fs] virtio-fs on zLinux (s390x)
Date: Tue, 17 Mar 2020 10:41:51 +0100	[thread overview]
Message-ID: <20200317104151.414e2a0b@redhat.com> (raw)
In-Reply-To: <OFACFEEE57.45B9F1BC-ON0025852E.0026B45E-8525852E.0026EB59@notes.na.collabserv.com>

On Tue, 17 Mar 2020 02:05:06 -0500
"Gong Su" <gongsu@us.ibm.com> wrote:

> 
> 
> Hi Igor, just wondering if there is any updates on getting the patches that
> will allow shared memory without -numa (not supported on s390 yet)? Thanks.

it's already upstream.

there is a new upstream option -machine memory-backend=...
that allows to set custom backend for main RAM

> __________________
> 
> Hi Igor, that would be great. Thanks.
> 
> 
> 
> From:	Igor Mammedov <imammedo@redhat.com>
> To:	"Gong Su" <gongsu@us.ibm.com>
> Cc:	"Dr. David Alan Gilbert" <dgilbert@redhat.com>, Cornelia Huck
>             <cohuck@redhat.com>, virtio-fs@redhat.com
> Date:	12/13/2019 08:17 AM
> Subject:	[EXTERNAL] Re: [Virtio-fs] virtio-fs on zLinux (s390x)
> 
> 
> 
> On Thu, 12 Dec 2019 14:10:32 -0500
> "Gong Su" <gongsu@us.ibm.com> wrote:
> 
> >
> > Thanks Dave. That was quick!
> >
> > Igor, any idea when this will happen? :-)
> If you need early sneak peek, I can post common + s390 patches.
> 
> 
> > From:		 "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> > To:		 Gong Su <gongsu@us.ibm.com>
> > Cc:		 virtio-fs@redhat.com, Cornelia Huck <cohuck@redhat.com>
> > Date:		 12/12/2019 01:59 PM
> > Subject:		 [EXTERNAL] Re: [Virtio-fs] virtio-fs on zLinux (s390x)
> >
> >
> >
> > * Gong Su (gongsu@us.ibm.com) wrote:
> > >
> > >
> > > Hi Stefan, I'm resending my questions to the list per your request.
> > >
> > > Basically, I'm trying to see if I can get virtio-fs to work on zLinux.
> > > Following the instructions on
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__virtio-2Dfs.gitlab.io_howto-2Dqemu.html&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=tf-1fDxgEPUcSzS0GcREznaRLLY6eGivTqJEnr2bEmQ&m=bKfrjedGnP-cXu2BPH6ynhTbdi5nm0VW1nx6Qb5Q_7M&s=pkvbWd3P-tWRpKPww5iwoPHLE_HnkenEEJhywABpRuc&e=
> 
> >   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.
> > >
> > > I have talked to Christian Borntraeger (whom I worked with on other
> > > projects before) and he indicated that he had a plan to add -numa
> support
> > > for s390x but currently is busy on other things.
> > >
> > > So I'm trying to see if there are other ways for me to go forward
> without
> > > having to wait for Christian. I see two options:
> > >
> > > 1. Merge virtiofsd into qemu itself. In the "Interchangeability"
> section
> > of
> > > the virtio-fs design page (
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__virtio-2Dfs.gitlab.io_design.html&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=tf-1fDxgEPUcSzS0GcREznaRLLY6eGivTqJEnr2bEmQ&m=bKfrjedGnP-cXu2BPH6ynhTbdi5nm0VW1nx6Qb5Q_7M&s=2VrG3dsgZcdW8uO6ZBiGtRgNp4X1z3d8TMXnUdHhfCc&e=
> 
> >  ), it
> > > mentioned that "It is also possible to forego vhost-user and emulate
> the
> > > virtio-fs device directly inside the hypervisor, although this may
> result
> > > in poor isolation and security." Since each guest typically gets its
> own
> > > qemu process, maybe this is acceptable for some use cases. In exchange,
> > you
> > > get the benefit of not having to carve out a chunk of memory
> > from /dev/shm
> > > (and maybe simpler communication between virtiofsd and qemu).
> > > 2. Use something other than -numa to share memory between virtiofsd and
> > > qemu that's supported on zLinux. I'm not entirely familiar with qemu so
> I
> > > have no idea whether this is possible or not.
> >
> > Hi,
> >   My understanding is that Igor Mammedov (imammedo@redhat.com) has plans
> > to allow 'shared' to be set on main memory, so we wouldn't need the numa
> > code.
> >
> > Dave
> >
> > > Thanks.
> >
> > > _______________________________________________
> > > Virtio-fs mailing list
> > > Virtio-fs@redhat.com
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com_mailman_listinfo_virtio-2Dfs&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=tf-1fDxgEPUcSzS0GcREznaRLLY6eGivTqJEnr2bEmQ&m=bKfrjedGnP-cXu2BPH6ynhTbdi5nm0VW1nx6Qb5Q_7M&s=O41fLQGJCOR0-Aj2Y4nziy3aTYTOCzaH8Lahe7xhBK8&e=
> 
> >
> >
> > --
> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> >
> >
> >
> >
> 
> 
> 


  reply	other threads:[~2020-03-17  9:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17  7:05 [Virtio-fs] virtio-fs on zLinux (s390x) Gong Su
2020-03-17  9:41 ` Igor Mammedov [this message]
2020-03-17 12:11   ` Dr. David Alan Gilbert
2020-03-18  2:59   ` Gong Su
  -- strict thread matches above, loose matches on Subject: below --
2019-12-12 18:55 Gong Su
2019-12-12 18:59 ` Dr. David Alan Gilbert
2019-12-12 19:10   ` Gong Su
2019-12-13 13:17     ` Igor Mammedov
2019-12-13 15:45       ` Gong Su
2019-12-13 10:44   ` Cornelia Huck
2019-12-13 11:02 ` Stefan Hajnoczi
2019-12-13 15:44   ` Gong Su

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200317104151.414e2a0b@redhat.com \
    --to=imammedo@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=gongsu@us.ibm.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.