From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linda Subject: Re: 9p file system for xen Date: Tue, 17 Nov 2015 12:50:29 -0700 Message-ID: <564B8505.3060302@jma3.com> References: <56461C8A.4080401@jma3.com> <20151116151658.GA22829@citrix.com> <564A0608.8050904@jma3.com> <20151116165129.GA25764@citrix.com> <564A10E1.4070607@jma3.com> <20151116173559.GC25764@citrix.com> <564A98CB.9090506@jma3.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8822386384933595029==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Neil Sikka Cc: Julien Grall , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============8822386384933595029== Content-Type: multipart/alternative; boundary="------------020508040103030009030003" This is a multi-part message in MIME format. --------------020508040103030009030003 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/17/2015 11:35 AM, Neil Sikka wrote: > How does Linda's work relate to Wei's patches available here (I didnt > see them in Xen-4.6.0): > > http://downloads.xen.org/Wiki/VirtioOnXen/qemu-01-xenpv-exec.patch > http://downloads.xen.org/Wiki/VirtioOnXen/qemu-02-virtio-for-pv.patch I'll let Wei answer this. > > Also, since 9p is being worked on, which is a filesystem that should > be implemented in a kernel rather than a hypervisor, are you looking > to contribute this driver to the Linux kernel? What I did was write new kernel routines and new Qemu routines, as well as modifying a few existing Qemu files. The initialization is currently done manually by modifying xenstore. This is the only code that properly belongs in the hypervisor. I hope this clarifies things. Linda > > On Mon, Nov 16, 2015 at 10:02 PM, Linda > wrote: > > Hi Wei, > > On 11/16/2015 10:35 AM, Wei Liu wrote: > > On Mon, Nov 16, 2015 at 10:22:41AM -0700, Linda wrote: > > ... > > > The bug is a timing issue: During virtio's probe step, on > the front end, it > initialized the mount path. Since at that time, the front > end doesn't have > access to the back end's entries in xenstore (AFIACT), I > either need to put > it in xenstore prior to starting, or move the access to > this information to > later in the initialization. > > Note, I used the past tense on what virtio did, as of last > summer: when I > looked at it last week, it appears to have changed since I > first used it as > a template. I need to investigate this further. > > OK. > > Finally, I've made no provision for how to mount more than > one file system > for the same guest. This is a feature that virtio > provides for in the > front-end code (as do I), but I am unclear about how this > works in the > back-end or at the user level. This is what I suspect > will be different in > xen, and I'd like some input on what it should look like. > > I think this comes down to how your design the xenstore > protocol to > represent different mount points. > > And just reading this gave me the answer I need. > > > The code freeze for next release is going to be end of > March next year. > As software engineer often overestimates the progress > he or she can > make, I would say we shall aim for getting something > working as soon as > possible. Get the design straight and something clean > by the end of this > year would be good. > > Sounds good to me. I'm happy to keep working on this. I > just didn't want > to find myself in a position where I needed to pass this > on to someone else, > but I didn't give that person enough time to finish what > I'd done. > > Depending on the situation, I can take over the code. You've > done enough > for this project and we don't really want you to work on it > for free -- > we don't have provision for more funding at the moment. > > Understood. > > If we end up taking over the project, we will still attribute the > initial implementation to you. > > Thanks. Julien said essentially the same thing. Right now, > I'm working on average, less than 10 hours/week, so it's enough to > keep my mind engaged, but it doesn't interfere with anything else. > I will be working for pay, in some capacity (TBD), after the > first of the year. Right now, I'm working to line things up. > Unless something changes drastically, I'll continue to work on > this until the end of the year. I'll start by cleaning things up, > and keep it that way, so no matter what happens, you, or Julien, > can take it over. > > Linda > > > Wei. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > > > > > -- > My Blog: http://www.neilscomputerblog.blogspot.com/ > Twitter: @neilsikka --------------020508040103030009030003 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On 11/17/2015 11:35 AM, Neil Sikka wrote:
How does Linda's work relate to Wei's patches available here (I didnt see them in Xen-4.6.0):

http://downloads.xen.org/Wiki/VirtioOnXen/qemu-01-xenpv-exec.patch=
http://downloads.xen.org/Wiki/VirtioOnXen/qemu-02-virtio-for-pv.pat= ch
I'll let Wei answer this.=C2=A0

Also, since 9p is being worked on, which is a filesystem that should be implemented in a kernel rather than a hypervisor, are you looking to contribute this driver to the Linux kernel?
What I did was write new kernel routines and new Qemu routines, as well as modifying a few existing Qemu files.=C2=A0 The initialization= is currently done manually by modifying xenstore.=C2=A0 This is the only code that properly belongs in the hypervisor.

I hope this clarifies things.

Linda

On Mon, Nov 16, 2015 at 10:02 PM, Lind= a <lindaj@jm= a3.com> wrote:
Hi Wei,

On 11/16/2015 10:35 AM, Wei Liu wrote:
On Mon, Nov 16, 2015 at 10:22:41AM -0700, Linda wrote:
...

The bug is a timing issue:=C2=A0 During virtio's probe step, on the front end, it
initialized the mount path.=C2=A0 Since at that time, t= he front end doesn't have
access to the back end's entries in xenstore (AFIACT), I either need to put
it in xenstore prior to starting, or move the access to this information to
later in the initialization.

Note, I used the past tense on what virtio did, as of last summer: when I
looked at it last week, it appears to have changed since I first used it as
a template.=C2=A0 =C2=A0 I need to investigate this fur= ther.

OK.

Finally, I've made no provision for how to mount more than one file system
for the same guest.=C2=A0 This is a feature that virtio provides for in the
front-end code (as do I), but I am unclear about how this works in the
back-end or at the user level.=C2=A0 This is what I sus= pect will be different in
xen, and I'd like some input on what it should look like.
I think this comes down to how your design the xenstore protocol to
represent different mount points.
And just reading this gave me the answer I need.

The code freeze for next release is going to be end of March next year.
As software engineer often overestimates the progress he or she can
make, I would say we shall aim for getting something working as soon as
possible. Get the design straight and something clean by the end of this
year would be good.
Sounds good to me.=C2=A0 I'm happy to keep working on this.=C2=A0 I just didn't want
to find myself in a position where I needed to pass this on to someone else,
but I didn't give that person enough time to finish what I'd done.
Depending on the situation, I can take over the code. You've done enough
for this project and we don't really want you to work on it for free --
we don't have provision for more funding at the moment.
Understood.
If we end up taking over the project, we will still attribute the
initial implementation to you.
=C2=A0 =C2=A0 Thanks.=C2=A0 Julien said essentially the same = thing.=C2=A0 Right now, I'm working on average, less than 10 hours/week, so it's enough to keep my mind engaged, but it doesn't interfere with anything else.
=C2=A0 =C2=A0 I will be working for pay, in some capacity (TB= D), after the first of the year.=C2=A0 =C2=A0Right now, I'm working to = line things up.
=C2=A0 =C2=A0 Unless something changes drastically, I'll cont= inue to work on this until the end of the year.=C2=A0 I'll start by cleaning things up, and keep it that way, so no matter what happens, you, or Julien, can take it over.

Linda


Wei.



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel



--
Twitter: @neilsikka

--------------020508040103030009030003-- --===============8822386384933595029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8822386384933595029==--