From: "Jan Beulich" Subject: Re: [V1 PATCH 03/11] PVH dom0: iommu related changes Date: Fri, 15 Nov 2013 07:36:55 +0000 Message-ID: <5285DD2702000078001035DB@nat28.tlf.novell.com> References: <1383960215-22444-1-git-send-email-mukesh.rathor@oracle.com> <1383960215-22444-4-git-send-email-mukesh.rathor@oracle.com> <528260A3020000780010288F@nat28.tlf.novell.com> <20131114174300.56c070cf@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 1VhDxa-0002qy-Ug for xen-devel@lists.xenproject.org; Fri, 15 Nov 2013 07:36:59 +0000 In-Reply-To: <20131114174300.56c070cf@mantra.us.oracle.com> Content-Disposition: inline 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 , keir.xen@gmail.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 15.11.13 at 02:43, Mukesh Rathor wrote: > On Tue, 12 Nov 2013 16:08:51 +0000 > "Jan Beulich" wrote: > >> >>> On 09.11.13 at 02:23, Mukesh Rathor >> >>> wrote: >> > --- a/xen/drivers/passthrough/iommu.c >> > +++ b/xen/drivers/passthrough/iommu.c >> > @@ -125,15 +125,27 @@ int iommu_domain_init(struct domain *d) >> > return hd->platform_ops->init(d); >> > } >> > >> > +static inline void check_dom0_pvh_reqs(struct domain *d) >> >> No point for this to be an inline function. Even more, irrespective >> of whether it is, it should also be marked __init. > > Ok, marked __init, removed inline. Or did you mean get > rid of the function and move checks to iommu_dom0_init()? I would have preferred so, but I'm fine with what you did. Jan