xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xenproject.org, Ian.Jackson@eu.citrix.com
Subject: Re: [V3 PATCH 2/3] PVH xen tools: libxc changes to build a PVH guest.
Date: Wed, 11 Sep 2013 14:41:14 -0700	[thread overview]
Message-ID: <20130911144114.44c18388@mantra.us.oracle.com> (raw)
In-Reply-To: <1378893825.10928.52.camel@kazak.uk.xensource.com>

On Wed, 11 Sep 2013 11:03:45 +0100
Ian Campbell <Ian.Campbell@citrix.com> wrote:

> On Tue, 2013-09-10 at 14:55 -0700, Mukesh Rathor wrote:
> > Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
> > -----
> 
> This needs to be exactly the "---" I quoted when I asked for it in
> order to be affective (it causes git am to strip these comments)
> 
> > V2: Make pvh_features string const, and fail 32bit PVH guest
> > creation. Move PVH check to xc_dom_gnttab_init().
> > V3: let xc_dom_gnttab_hvm_seed be called for PVH.
> > ---
> 
>  ^ Like this
> 
> >  tools/libxc/xc_dom.h      |    1 +
> >  tools/libxc/xc_dom_core.c |    9 ++++
> >  tools/libxc/xc_dom_x86.c  |   90
> > +++++++++++++++++++++++++++++--------------- 3 files changed, 69
> > insertions(+), 31 deletions(-) diff --git
> > a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c index
> > 0f367f6..faa7e0f 100644 --- a/tools/libxc/xc_dom_core.c
> > +++ b/tools/libxc/xc_dom_core.c
> > @@ -766,6 +766,15 @@ int xc_dom_parse_image(struct xc_dom_image
> > *dom) goto err;
> >      }
> >  
> > +    if ( dom->pvh_enabled )
> > +    {
> > +        const char *pvh_features = "writable_descriptor_tables|"
> > +                                   "auto_translated_physmap|"
> > +                                   "supervisor_mode_kernel|"
> > +                                   "hvm_callback_vector";
> > +        elf_xen_parse_features(pvh_features, dom->f_requested,
> > NULL);
> 
> Is there a check somewhere that these features actually ended up being
> available?

Right below it will check to make sure active features are supported.

thanks
mukesh

  reply	other threads:[~2013-09-11 21:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 21:55 [V3 PATCH 0/3]: PVH xen tools: tools changes to create PVH guest Mukesh Rathor
2013-09-10 21:55 ` [V3 PATCH 1/3] PVH xen tools: In Elf code, check hvm callback vector Mukesh Rathor
2013-09-11  6:56   ` Jan Beulich
2013-09-10 21:55 ` [V3 PATCH 2/3] PVH xen tools: libxc changes to build a PVH guest Mukesh Rathor
2013-09-11 10:03   ` Ian Campbell
2013-09-11 21:41     ` Mukesh Rathor [this message]
2013-09-12  8:31       ` Ian Campbell
2013-09-10 21:55 ` [V3 PATCH 3/3] PVH xen tools: libxl changes to create " Mukesh Rathor

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=20130911144114.44c18388@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).