From: Ian Campbell Subject: Re: [PATCH 2/5] xen: only expose start_info on architectures which have a PV boot path Date: Thu, 18 Jul 2013 14:57:30 +0100 Message-ID: <1374155850.26728.96.camel@kazak.uk.xensource.com> References: <1374153311.26728.86.camel@kazak.uk.xensource.com> <1374153340-29398-2-git-send-email-ian.campbell@citrix.com> <51E80BD802000078000E6045@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51E80BD802000078000E6045@nat28.tlf.novell.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: Jan Beulich Cc: "Keir (Xen.org)" , Tim Deegan , xen-devel@lists.xen.org, ian.jackson@eu.citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2013-07-18 at 14:38 +0100, Jan Beulich wrote: > >>> On 18.07.13 at 15:15, Ian Campbell wrote: > > --- a/xen/include/public/arch-x86/xen.h > > +++ b/xen/include/public/arch-x86/xen.h > > @@ -70,6 +70,9 @@ typedef unsigned long xen_pfn_t; > > #define PRI_xen_pfn "lx" > > #endif > > > > +#define XEN_HAVE_PV_GUEST_ENTRY 1 > > +#define COMPAT_HAVE_PV_GUEST_ENTRY 1 > > This ought to nevertheless have a XEN_ prefix, if it really is > needed at all (didn't spot yet where it's being consumed). It gets used in the autogenerated xen/include/compat/xen.h: ifdef COMPAT_HAVE_PV_GUEST_ENTRY struct compat_start_info { ... I think the COMPAT prefix is consistent with other aspects of this autogeneration (in particular the struct renaming xen_xxx -> compat_xxx) Same applies to 5/5. Ian.