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.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: PVH: libxl expertise...
Date: Wed, 14 Nov 2012 16:29:52 -0800	[thread overview]
Message-ID: <20121114162952.31f0f1ab@mantra.us.oracle.com> (raw)
In-Reply-To: <1352887110.26873.15.camel@zakaz.uk.xensource.com>

On Wed, 14 Nov 2012 09:58:30 +0000
Ian Campbell <Ian.Campbell@citrix.com> wrote:

> On Wed, 2012-11-14 at 01:31 +0000, Mukesh Rathor wrote:
> > On Tue, 13 Nov 2012 17:21:38 -0800
> > Mukesh Rathor <mukesh.rathor@oracle.com> wrote:
> > 
> > > 
> > > 
> > > I can't tell why f_active is there. I also see supported, may be
> > > thats the string of what the kernel supports. It is set to
> > > 0x11 ??? 
> > 
> > Debugging further, I see in xc_dom_parse_elf_kernel() after
> > elf_parse_binary(), the strings are set as:
> > 
> >       type = XEN_ENT_STR, name = 0x3cadc2e116 "PAE_MODE", data = {
> >         str = 0x7ffff61e14b0 "yes", num = 0x7ffff61e14b0}}, {
> >       type = XEN_ENT_STR, name = 0x3cadc2dd2d "FEATURES", data = {
> >         str = 0x7ffff61e1414
> > "!writable_page_tables|pae_pgdir_above_4gb", num =
> > 0x7ffff61e1414}}, {type = XEN_ENT_NONE, name = 0x0, data = { str =
> > 0x0, num = 0x0}}, {type = XEN_ENT_LONG, 

>later? My suspicion is that when the domain is created the kernel hasn't
>been parsed yet so the feature flags are not available. This would be

Well, it found "!writable_page_tables|pae_pgdir_above_4gb", but 
not the addition ones I added:

#define FEATURES_PVH "|writable_descriptor_tables" \
                    "|auto_translated_physmap" \
                    "|supervisor_mode_kernel" \
                    "|hvm_callback_vector"

However, I see the new ones in vmlinux. So, something either in 
bzImage or parser.

thanks for your help.
Mukesh

  parent reply	other threads:[~2012-11-15  0:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13  3:09 PVH: libxl expertise Mukesh Rathor
2012-11-13 10:00 ` Ian Campbell
2012-11-13 19:53   ` Mukesh Rathor
2012-11-14  1:21   ` Mukesh Rathor
2012-11-14  1:31     ` Mukesh Rathor
2012-11-14  9:58       ` Ian Campbell
2012-11-14 19:04         ` Mukesh Rathor
2012-11-15  0:29         ` Mukesh Rathor [this message]
2012-11-15  2:13         ` Mukesh Rathor
2012-11-15  8:47           ` Ian Campbell
2012-11-13 17:14 ` Roger Pau Monné

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=20121114162952.31f0f1ab@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Xen-devel@lists.xensource.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 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).