From: Ian Campbell Subject: Re: [PATCH 10/12] arm: stub out PoD Date: Fri, 20 Jan 2012 12:40:56 +0000 Message-ID: <1327063256.30054.34.camel@zakaz.uk.xensource.com> References: <1327061025.30054.21.camel@zakaz.uk.xensource.com> <1327061198-29854-10-git-send-email-ian.campbell@citrix.com> <1327062595.30054.28.camel@zakaz.uk.xensource.com> <20120120123558.GC97313@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120120123558.GC97313@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2012-01-20 at 12:35 +0000, Tim Deegan wrote: > At 12:29 +0000 on 20 Jan (1327062595), Ian Campbell wrote: > > On Fri, 2012-01-20 at 12:20 +0000, Stefano Stabellini wrote: > > > Could we have a proper stub function or a static inline rather than an > > > #define? > > > > I tried that, it would require pulling in more headers etc. This is > > really just a stop gap until we implement enough p2m to support pod > > properly. I left the real prototypes in the comment for reference. > > We could just as easily have > > static inline int > guest_physmap_mark_populate_on_demand(struct domain *d, unsigned long gfn, > unsigned int order) > { > return -ENOSYS; > } > > &c, for no extra effort (and for the same effect). A matter of style is > all. That is exactly what required pulling in more headers. Ian.