From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [PATCH 08/18] PVH xen: tools changes to create PVH domain Date: Tue, 30 Jul 2013 18:06:17 -0700 Message-ID: <20130730180617.714dfac3@mantra.us.oracle.com> References: <1369445137-19755-1-git-send-email-mukesh.rathor@oracle.com> <1369445137-19755-9-git-send-email-mukesh.rathor@oracle.com> <1371049088.24512.450.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: <1371049088.24512.450.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, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Wed, 12 Jun 2013 15:58:08 +0100 Ian Campbell wrote: > On Fri, 2013-05-24 at 18:25 -0700, Mukesh Rathor wrote: ... > > + } > > + > > dom = xc_dom_allocate(ctx->xch, state->pv_cmdline, > > info->u.pv.features); if (!dom) { > > LOGE(ERROR, "xc_dom_allocate failed"); > > @@ -370,6 +384,7 @@ int libxl__build_pv(libxl__gc *gc, uint32_t > > domid, } > > > > dom->flags = flags; > > + dom->pvh_enabled = is_pvh; > > Not part of the flags? I'd have liked to use the flags, but with all due respect, when a field is named "flags", a search for which yields 800 hits, and there is no comment, and the type is ulong, it is impossible for someone to understand and reverse engineer it? Can you tell me if it's a bit field, enum of some sort, or even where it's used? I can't grep/cscope such generic field name... thanks mukesh