diff options
Diffstat (limited to 'hw/xen.h')
| -rw-r--r-- | hw/xen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen.h b/hw/xen.h index 43b95d6880..21621115e4 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_BACKEND +#if defined(CONFIG_XEN_BACKEND) && !defined(CONFIG_NO_XEN) return xen_allowed; #else return 0; |