Re: [Qemu-devel] [PATCH 3/3] xen: make xen_enabled even more clever

2011-07-18 Thread Anthony PERARD
On Sun, Jul 17, 2011 at 06:39, Alexander Graf wrote: > When using xen_enabled() we're currently only checking if xen is enabled > at all during the build. But what if you want to build multiple targets > out of which only one can potentially run xen code? > > That means that for generic code we'll

[Qemu-devel] [PATCH 3/3] xen: make xen_enabled even more clever

2011-07-18 Thread Alexander Graf
When using xen_enabled() we're currently only checking if xen is enabled at all during the build. But what if you want to build multiple targets out of which only one can potentially run xen code? That means that for generic code we'll still have to fall back to the variable and potentially slow t