mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
8e0ef06894
CONFIG_XEN is generated by configure and stored in "config-target.h",
which is (obviously) only include for target-specific objects.
This is a problem for target-agnostic objects as CONFIG_XEN is never
defined and xen_enabled() is always inlined as 'false'.
Fix by following the KVM schema, defining CONFIG_XEN_IS_POSSIBLE
when we don't know to force the call of the non-inlined function,
returning the xen_allowed boolean.
Fixes:
|
||
---|---|---|
.. | ||
hax-stub.c | ||
hvf-stub.c | ||
kvm-stub.c | ||
Makefile.objs | ||
tcg-stub.c | ||
whpx-stub.c | ||
xen-stub.c |