From: Paolo Bonzini Subject: Re: [PATCH 1/5] xen: Fix xen_enabled(). Date: Fri, 15 Jul 2011 16:46:33 +0200 Message-ID: <4E2052C9.8030303@redhat.com> References: <1310740376-13323-1-git-send-email-anthony.perard@citrix.com> <1310740376-13323-2-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1310740376-13323-2-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony PERARD Cc: Xen Devel , QEMU-devel , Stefano Stabellini , Alexander Graf List-Id: xen-devel@lists.xenproject.org On 07/15/2011 04:32 PM, Anthony PERARD wrote: > Use the "host" CONFIG_ define instead of the "target" one. > > Signed-off-by: Anthony PERARD > --- > hw/xen.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/xen.h b/hw/xen.h > index e432705..43b95d6 100644 > --- a/hw/xen.h > +++ b/hw/xen.h > @@ -24,7 +24,7 @@ extern int xen_allowed; > > static inline int xen_enabled(void) > { > -#ifdef CONFIG_XEN > +#ifdef CONFIG_XEN_BACKEND > return xen_allowed; > #else > return 0; Acked-by: Paolo Bonzini Paolo