From: Mukesh Rathor Subject: Re: PVH: libxl expertise... Date: Wed, 14 Nov 2012 16:29:52 -0800 Message-ID: <20121114162952.31f0f1ab@mantra.us.oracle.com> References: <20121112190934.5e702799@mantra.us.oracle.com> <1352800853.7491.22.camel@zakaz.uk.xensource.com> <20121113172138.1d3274d9@mantra.us.oracle.com> <20121113173138.61b21067@mantra.us.oracle.com> <1352887110.26873.15.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1352887110.26873.15.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 14 Nov 2012 09:58:30 +0000 Ian Campbell wrote: > On Wed, 2012-11-14 at 01:31 +0000, Mukesh Rathor wrote: > > On Tue, 13 Nov 2012 17:21:38 -0800 > > Mukesh Rathor 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