From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhjf7-0007ms-Tl for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:46:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qhjf3-0000tU-IR for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:46:41 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:37385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhjf3-0000e0-52 for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:46:37 -0400 Received: by mail-qw0-f45.google.com with SMTP id 8so830201qwj.4 for ; Fri, 15 Jul 2011 07:46:36 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4E2052C9.8030303@redhat.com> Date: Fri, 15 Jul 2011 16:46:33 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1310740376-13323-1-git-send-email-anthony.perard@citrix.com> <1310740376-13323-2-git-send-email-anthony.perard@citrix.com> In-Reply-To: <1310740376-13323-2-git-send-email-anthony.perard@citrix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] xen: Fix xen_enabled(). List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: Xen Devel , QEMU-devel , Stefano Stabellini , Alexander Graf 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