tools: Make qemu-xen-traditional build optional

Enterprise / Virtualization / Xen - Ian Campbell [citrix.com] - 21 August 2013 04:32 UTC

Now that we have upstream qemu people may want to avoid building this extra code.

There is a little bit of trickery in stubdom/configure.ac to ensure that the ioemu stubdom is only built if qemu-traditional is enabled.

libxl will return an error if a caller tries to build a domain using qemu-xen-traditional when this support was disabled at build time. Since qemu-xen-traditional has been historically tightly bound to the Xen releases I don't see any value in supporting "3rd party" provision of qemu-xen-traditional.

We also do not want/need this on ARM therefore default is on for x86 and off otherwise.

b0f69ec tools: Make qemu-xen-traditional build optional.
Makefile | 22 +++++---
config/Tools.mk.in | 1 +
stubdom/Makefile | 6 +-
stubdom/configure | 152 ++++++++++++++++++++++++++++++++++++++++++++++----
stubdom/configure.ac | 24 +++++++-
tools/Makefile | 2 +-
tools/config.h.in | 3 +
tools/configure | 31 ++++++++++
tools/configure.ac | 16 ++++++
9 files changed, 233 insertions(+), 24 deletions(-)

Upstream: xenbits.xen.org


  • Share