|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/5] xen: Fix xen_enabled(). |
Date: | Fri, 15 Jul 2011 16:46:33 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Mnenhy/0.8.3 Thunderbird/3.1.10 |
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<address@hidden> --- 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 <address@hidden> Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |