From: Ian Campbell Subject: Re: [V1 PATCH 3/5] PVH xen tools: libxl changes to create a PVH guest. Date: Fri, 6 Sep 2013 10:32:24 +0100 Message-ID: <1378459944.14745.83.camel@kazak.uk.xensource.com> References: <1378344728-30624-1-git-send-email-mukesh.rathor@oracle.com> <1378344728-30624-4-git-send-email-mukesh.rathor@oracle.com> <1378375381.14745.14.camel@kazak.uk.xensource.com> <20130905182327.6cb14c15@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VHsOw-0007EB-Na for xen-devel@lists.xenproject.org; Fri, 06 Sep 2013 09:32:27 +0000 In-Reply-To: <20130905182327.6cb14c15@mantra.us.oracle.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: Mukesh Rathor Cc: xen-devel@lists.xenproject.org, Ian.Jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2013-09-05 at 18:23 -0700, Mukesh Rathor wrote: > On Thu, 5 Sep 2013 11:03:01 +0100 > Ian Campbell wrote: > > > On Wed, 2013-09-04 at 18:32 -0700, Mukesh Rathor wrote: > > > Signed-off-by: Mukesh Rathor > > > --- > > > tools/libxl/libxl_create.c | 12 ++++++++++++ > > > tools/libxl/libxl_dom.c | 5 ++++- > > > tools/libxl/libxl_internal.h | 1 + > > > tools/libxl/libxl_types.idl | 1 + > > > tools/libxl/libxl_x86.c | 4 +++- > > > tools/libxl/xl_cmdimpl.c | 1 + > > > > Please also modify libxl.h to add a suitable LIBXL_HAVE_xxx #define as > > described in the big comment about API compatibility. > > Ah, not sure whey LIBXL_API_VERSION can't be used in this case. They are somewhat orthogonal mechanisms. > But, > anyways, maybe something like: > > /* > * LIBXL_HAVE_PVH_SUPPORT or LIBXL_HAVE_PVH_EXTENSIONS or > * LIBXL_HAVE_PVH_FEATURE.... > * > * If this is defined, the library supports PVH extensions for building a > * PV guest to run in HVM container. This is done by adding pvh=1 in the > * config file. > */ > #define LIBXL_HAVE_PVH_SUPPORT 1 We have a bunch of LIBXL_HAVE_BUILDINFO_FOO, how about LIBXL_HAVE_CREATEINFO_PVH ? (assuming I'm remembering correctly that this is where you added the field...) Ian.