projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4bb2b
)
xen: Fix xen_enabled().
author
Anthony PERARD
<anthony.perard@citrix.com>
Fri, 15 Jul 2011 04:32:52 +0000
(
04:32
+0000)
committer
Alexander Graf
<agraf@suse.de>
Tue, 26 Jul 2011 04:43:10 +0000
(06:43 +0200)
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>
hw/xen.h
patch
|
blob
|
history
diff --git
a/hw/xen.h
b/hw/xen.h
index e432705f45601e6992dbb375b00d23ab144778f4..43b95d68809c593ed8ea8642703303073891766d 100644
(file)
--- 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;