From: Anthony PERARD Date: Fri, 15 Jul 2011 04:32:52 +0000 (+0000) Subject: xen: Fix xen_enabled(). X-Git-Tag: v1.0-rc0~568^2~59^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30ab61252b71446977e298f146be124eb4a5b333;p=thirdparty%2Fqemu.git xen: Fix xen_enabled(). Use the "host" CONFIG_ define instead of the "target" one. Signed-off-by: Anthony PERARD Acked-by: Paolo Bonzini Signed-off-by: Alexander Graf --- diff --git a/hw/xen.h b/hw/xen.h index e432705f456..43b95d68809 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;