From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhjSH-0003v3-8n for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:33:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhjSC-00074R-AM for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:33:24 -0400 Received: from smtp.citrix.com ([66.165.176.89]:52088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhjSB-000742-Vs for qemu-devel@nongnu.org; Fri, 15 Jul 2011 10:33:20 -0400 From: Anthony PERARD Date: Fri, 15 Jul 2011 15:32:52 +0100 Message-ID: <1310740376-13323-2-git-send-email-anthony.perard@citrix.com> In-Reply-To: <1310740376-13323-1-git-send-email-anthony.perard@citrix.com> References: <1310740376-13323-1-git-send-email-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 1/5] xen: Fix xen_enabled(). List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel , Alexander Graf Cc: Anthony PERARD , Xen Devel , Stefano Stabellini 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; -- Anthony PERARD