diff options
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | include/hw/xen/xen.h | 2 |
2 files changed, 1 insertions, 4 deletions
@@ -4299,12 +4299,9 @@ case "$target_arch2" in if test "$xen_pci_passthrough" = yes; then echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" fi - else - echo "CONFIG_NO_XEN=y" >> $config_target_mak fi ;; *) - echo "CONFIG_NO_XEN=y" >> $config_target_mak esac case "$target_arch2" in arm|i386|x86_64|ppcemb|ppc|ppc64|s390x) diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h index 6235f91fe0..7451c5a0bf 100644 --- a/include/hw/xen/xen.h +++ b/include/hw/xen/xen.h @@ -25,7 +25,7 @@ extern bool xen_allowed; static inline bool xen_enabled(void) { -#if defined(CONFIG_XEN_BACKEND) && !defined(CONFIG_NO_XEN) +#if defined(CONFIG_XEN_BACKEND) && defined(CONFIG_XEN) return xen_allowed; #else return 0; |