From: "Jan Beulich" Subject: Re: [PATCH v4 08/21] xen/passthrough: vtd: iommu_set_hwdom_mapping is VTD specific Date: Tue, 22 Apr 2014 14:41:40 +0100 Message-ID: <53568DB4020000780000ADA5@nat28.tlf.novell.com> References: <1398172475-27873-1-git-send-email-julien.grall@linaro.org> <1398172475-27873-9-git-send-email-julien.grall@linaro.org> 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 1WcaxI-0001ke-Jr for xen-devel@lists.xenproject.org; Tue, 22 Apr 2014 13:41:48 +0000 In-Reply-To: <1398172475-27873-9-git-send-email-julien.grall@linaro.org> 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: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, Xiantao Zhang , tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 22.04.14 at 15:14, wrote: > This function was exported in common header. Rename it and move the > declaration > in drivers/passtrough/vtd/extern.h > > Signed-off-by: Julien Grall Reviewed-by: Jan Beulich albeit if you need to do another iteration ... > --- a/xen/drivers/passthrough/vtd/extern.h > +++ b/xen/drivers/passthrough/vtd/extern.h > @@ -103,4 +103,6 @@ void pci_vtd_quirk(struct pci_dev *pdev); > int platform_supports_intremap(void); > int platform_supports_x2apic(void); > > +void iommu_vtd_set_hwdom_mapping(struct domain *d); ... I'd be happier if you used only one prefix, i.e. vtd_ in this case. Jan