|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v6] Autoconf: add variable for pass arbitrary options to qemu upstream
Added configure options for pass arbitrary build options to qemu
upstream.
Usage example:
./configure QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxx>
---
Changes in v6:
- redid the patch similar to v1 adding variable for pass arbitrary
options to qemu upstream instead specific spice and usbredir ones
Changes in v5:
- improved README changes
- changed qemuu_add_par variable to qemuu_extra_args
- fixed some indentation errors
- changed 2 additions that was bash-only
- run autoconf to update configure file
Changes in v4:
- removed upstream qemu debug option already included by default if
tools debug is enabled.
- refresh for latest xen unstable git
---
config/Tools.mk.in | 1 +
tools/Makefile | 1 +
tools/configure | 5 +++++
tools/configure.ac | 1 +
4 files changed, 8 insertions(+)
diff --git a/config/Tools.mk.in b/config/Tools.mk.in
index 18f3b8a..0693c03 100644
--- a/config/Tools.mk.in
+++ b/config/Tools.mk.in
@@ -55,6 +55,7 @@ CONFIG_QEMU_TRAD := @qemu_traditional@
CONFIG_QEMU_XEN := @qemu_xen@
CONFIG_BLKTAP1 := @blktap1@
CONFIG_VTPM := @vtpm@
+CONFIG_QEMUU_EXTRA_ARGS:= @QEMUU_EXTRA_ARGS@
#System options
ZLIB := @zlib@
diff --git a/tools/Makefile b/tools/Makefile
index 3675515..992fe3e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -203,6 +203,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
--disable-docs \
--disable-guest-agent \
--python=$(PYTHON) \
+ $(CONFIG_QEMUU_EXTRA_ARGS) \
$(IOEMU_CONFIGURE_CROSS); \
$(MAKE) all
diff --git a/tools/configure b/tools/configure
index e1eeff4..a641efa 100755
--- a/tools/configure
+++ b/tools/configure
@@ -667,6 +667,7 @@ INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
SET_MAKE
+QEMUU_EXTRA_ARGS
IASL
BCC
LD86
@@ -792,6 +793,7 @@ AS86
LD86
BCC
IASL
+QEMUU_EXTRA_ARGS
CPP
PKG_CONFIG
PKG_CONFIG_PATH
@@ -1467,6 +1469,8 @@ Some influential environment variables:
LD86 Path to ld86 tool
BCC Path to bcc tool
IASL Path to iasl tool
+ QEMUU_EXTRA_ARGS
+ List of upstream qemu additionals build paramters
CPP C preprocessor
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
@@ -3861,6 +3865,7 @@ LDFLAGS="$PREPEND_LDFLAGS $LDFLAGS $APPEND_LDFLAGS"
+
# Checks for programs.
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
diff --git a/tools/configure.ac b/tools/configure.ac
index 00fb47b..16ca790 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -141,6 +141,7 @@ AC_ARG_VAR([AS86], [Path to as86 tool])
AC_ARG_VAR([LD86], [Path to ld86 tool])
AC_ARG_VAR([BCC], [Path to bcc tool])
AC_ARG_VAR([IASL], [Path to iasl tool])
+AC_ARG_VAR([QEMUU_EXTRA_ARGS], [List of upstream qemu additionals build
paramters])
# Checks for programs.
AC_PROG_CC
--
1.7.9.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |