From: "Jan Beulich" Subject: Re: [PATCHv6] 04/28] build: convert HAS_PASSTHROUGH use to Kconfig Date: Mon, 30 Nov 2015 07:50:37 -0700 Message-ID: <565C704D02000078000BA449@prv-mh.provo.novell.com> References: <1448387538-12208-1-git-send-email-cardoe@cardoe.com> <1448387538-12208-5-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1448387538-12208-5-git-send-email-cardoe@cardoe.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: Doug Goldstein Cc: Keir Fraser , Ian Campbell , Andrew Cooper , xen-devel@lists.xen.org, Stefano Stabellini , Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 24.11.15 at 18:51, wrote: > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -3,6 +3,7 @@ config X86_64 > > config X86 > def_bool y > + select HAS_PASSTHROUGH > select HAS_GDBSX Please get these sorted alphabetically from the beginning. > --- /dev/null > +++ b/xen/drivers/passthrough/Kconfig > @@ -0,0 +1,4 @@ > + > +# Select HAS_PASSTHROUGH if PCI pass through is supported > +config HAS_PASSTHROUGH > + bool s/PCI/device/ in the comment please. > @@ -348,9 +348,9 @@ static XSM_INLINE int xsm_deassign_device(XSM_DEFAULT_ARG struct domain *d, uint > return xsm_default_action(action, current->domain, d); > } > > -#endif /* HAS_PASSTHROUGH && HAS_PCI */ > +#endif /* CONFIG_HAS_PASSTHROUGH && HAS_PCI */ I don't think fiddling with trailing comments like this one is really useful - the connection is clear also without CONFIG_ prefix. Jan