From: Ian Campbell <ian.campbell@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: keir@xen.org, andrew.cooper3@citrix.com,
ian.jackson@eu.citrix.com, tim@xen.org, david.vrabel@citrix.com,
Jan Beulich <JBeulich@suse.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH V2] Add flag to start info regarding virtual mapped p2m list
Date: Wed, 4 Mar 2015 10:52:56 +0000 [thread overview]
Message-ID: <1425466376.25940.134.camel@citrix.com> (raw)
In-Reply-To: <54F6DC89.8050106@suse.com>
On Wed, 2015-03-04 at 11:20 +0100, Juergen Gross wrote:
> On 03/04/2015 11:06 AM, Ian Campbell wrote:
> > On Wed, 2015-03-04 at 09:42 +0000, Jan Beulich wrote:
> >>>>> On 04.03.15 at 10:35, <ian.campbell@citrix.com> wrote:
> >>> On Wed, 2015-03-04 at 08:58 +0000, Jan Beulich wrote:
> >>>>>>> On 03.03.15 at 11:32, <JGross@suse.com> wrote:
> >>>>> On 03/03/2015 11:27 AM, Jan Beulich wrote:
> >>>>>>>>> On 03.03.15 at 10:29, <"jgross@suse.com".non-mime.internet> wrote:
> >>>>>>> In order to indicate the Xen tools capability to support the virtual
> >>>>>>> mapped linear p2m list instead the 3 level mfn tree add a flag to the
> >>>>>>> start_info page.
> >>>>>>>
> >>>>>>> Signed-off-by: Juergen Gross <jgross@suse.com>
> >>>>>>> ---
> >>>>>>> xen/include/public/xen.h | 2 ++
> >>>>>>> 1 file changed, 2 insertions(+)
> >>>>>>>
> >>>>>>> diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
> >>>>>>> index 3703c39..36c6d62 100644
> >>>>>>> --- a/xen/include/public/xen.h
> >>>>>>> +++ b/xen/include/public/xen.h
> >>>>>>> @@ -777,6 +777,8 @@ typedef struct start_info start_info_t;
> >>>>>>> #define SIF_INITDOMAIN (1<<1) /* Is this the initial control domain? */
> >>>>>>> #define SIF_MULTIBOOT_MOD (1<<2) /* Is mod_start a multiboot module? */
> >>>>>>> #define SIF_MOD_START_PFN (1<<3) /* Is mod_start a PFN? */
> >>>>>>> +#define SIF_VIRT_P2M (1<<4) /* Does Xen understand a virt. mapped P->M
> >>>>> */
> >>>>>>> + /* making the 3 level tree obsolete?
> >>>
> >>>>> */
> >>>>>>> #define SIF_PM_MASK (0xFF<<8) /* reserve 1 byte for xen-pm options */
> >>>>>>>
> >>>>>>> /*
> >>>>>>
> >>>>>> Is there any reason why this can't be part of the tools patch (series)
> >>>>>> actually going to make use of it?
> >>>>>
> >>>>> The main reason is I want to make use of it in the related kernel
> >>>>> series first. And this requires the Xen header implementation.
> >>>>
> >>>> I was about to apply v3, but I'm still unconvinced: How would you
> >>>> test those kernel side changes without having anything to set the
> >>>> flag?
> >>>
> >>> It does seem odd to be committing to an ABI with no xen.git side
> >>> implementation having been posted yet. Normally we ask that things go
> >>> into xen.git first before any guests start using them.
> >>
> >> Your reply seems ambiguous to me: If it was sent to Jürgen (with
> >> me Cc-ed) I'd read it as supporting my earlier statement. Since,
> >> however, it was sent to me (with Jürgen Cc-ed), I could also read
> >> it as supporting the public header change alone to go in (even if in
> >> slight collision with the word "implementation" in there). Could you
> >> clarify?
> >
> > Sorry, I was in support of you (Jan) here.
> >
> > Sometime an ABI header change might be all which is needed before guests
> > start using things (e.g. an io protocol change), but I think in this
> > case we really need to at least have seen the complete solution (so any
> > relevant Xen/tools changes) before we commit to an ABI.
> >
> > It _might_ be sufficient if this patch included some documentation about
> > what this flag actually means, but best would be to see the actual tools
> > side (or even a design, sorry if I've missed this somewhere along the
> > line).
> >
> > What I don't want to happen is for me to request a change during tools
> > review only to be told "kernels in the field already do it this way".
>
> I'd like to do an appropriate change in xl, but I've been told this
> would make sense only for migration protocol V2. OTOH I don't want to
> wait for an undefined amount of time until this will be posted, so I
> sent the ABI change first.
>
> I could, of course, wait with the flag bit until xl is ready and post
> another kernel patch then. Unfortunately this would delay Linux support
> for automatically be able to run as a pv-domain >500GB further, so I
> strongly recommend accepting the interface change now.
Please at least sketch out a design/description of what this flag means
to the guest and/or tools and what eventual tools support you expect
will be needed, and perhaps some ideas regarding what that support might
look like.
Without this your proposed ABI change is just a random bit in a data
structure with no context.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-03-04 10:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 9:29 [PATCH V2] Add flag to start info regarding virtual mapped p2m list Juergen Gross
2015-03-03 10:01 ` Andrew Cooper
2015-03-03 10:27 ` Jan Beulich
[not found] ` <54F59ABD02000078000658FB@suse.com>
2015-03-03 10:32 ` Juergen Gross
2015-03-03 10:52 ` Jan Beulich
[not found] ` <54F5A0920200007800065932@suse.com>
2015-03-03 11:00 ` Juergen Gross
2015-03-03 11:32 ` Jan Beulich
2015-03-04 8:58 ` Jan Beulich
2015-03-04 9:35 ` Ian Campbell
2015-03-04 9:42 ` Jan Beulich
2015-03-04 10:06 ` Ian Campbell
2015-03-04 10:20 ` Juergen Gross
2015-03-04 10:52 ` Ian Campbell [this message]
2015-03-04 11:18 ` Tim Deegan
2015-03-04 11:22 ` Juergen Gross
2015-03-04 11:41 ` Ian Campbell
2015-03-17 5:50 ` Juergen Gross
2015-03-18 9:59 ` Ian Campbell
2015-03-18 10:59 ` Juergen Gross
2015-03-18 11:09 ` Ian Campbell
2015-03-04 10:59 ` David Vrabel
2015-03-04 11:09 ` Juergen Gross
2015-03-04 11:18 ` David Vrabel
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=1425466376.25940.134.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jgross@suse.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/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.