From: Anthony PERARD Date: Fri, 15 Jul 2011 04:32:52 +0000 (+0000) Subject: xen: Fix xen_enabled(). X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=30ab61252b71446977e298f146be124eb4a5b333;p=qemu.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 e432705f45..43b95d6880 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;