diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2011-07-15 04:32:52 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-07-26 06:43:10 +0200 |
commit | 30ab61252b71446977e298f146be124eb4a5b333 (patch) | |
tree | 0291787a614bd6c0f6f4abaab04a2b26733ff503 /hw/xen.h | |
parent | fb4bb2b587549612a0da92de68fcc096ffd8a7d7 (diff) | |
download | qemu-30ab61252b71446977e298f146be124eb4a5b333.tar.gz qemu-30ab61252b71446977e298f146be124eb4a5b333.tar.bz2 qemu-30ab61252b71446977e298f146be124eb4a5b333.zip |
xen: Fix xen_enabled().
Use the "host" CONFIG_ define instead of the "target" one.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/xen.h')
-rw-r--r-- | hw/xen.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |