[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 02/20] multi-process: Add config option for multi-process QEMU
From: |
Jagannathan Raman |
Subject: |
[PATCH v8 02/20] multi-process: Add config option for multi-process QEMU |
Date: |
Fri, 31 Jul 2020 14:20:09 -0400 |
Add a configuration option to separate multi-process code
Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
---
configure | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/configure b/configure
index 2acc4d1..7b615c5 100755
--- a/configure
+++ b/configure
@@ -519,6 +519,7 @@ fuzzing="no"
rng_none="no"
secret_keyring=""
libdaxctl=""
+mpqemu="no"
supported_cpu="no"
supported_os="no"
@@ -1640,6 +1641,10 @@ for opt do
;;
--disable-libdaxctl) libdaxctl=no
;;
+ --enable-mpqemu) mpqemu=yes
+ ;;
+ --disable-mpqemu) mpqemu=no
+ ;;
*)
echo "ERROR: unknown option $opt"
echo "Try '$0 --help' for more information"
@@ -1943,6 +1948,8 @@ disabled with --disable-FEATURE, default is enabled if
available:
xkbcommon xkbcommon support
rng-none dummy RNG, avoid using /dev/(u)random and getrandom()
libdaxctl libdaxctl support
+ mpqemu multi-process QEMU support
+
NOTE: The object files are built at the place where configure is launched
EOF
@@ -7019,6 +7026,7 @@ echo "fuzzing support $fuzzing"
echo "gdb $gdb_bin"
echo "rng-none $rng_none"
echo "Linux keyring $secret_keyring"
+echo "multiprocess QEMU $mpqemu"
if test "$supported_cpu" = "no"; then
echo
@@ -7891,6 +7899,9 @@ fi
if test "$have_mlockall" = "yes" ; then
echo "HAVE_MLOCKALL=y" >> $config_host_mak
fi
+if test "$mpqemu" = "yes" ; then
+ echo "CONFIG_MPQEMU=y" >> $config_host_mak
+fi
if test "$fuzzing" = "yes" ; then
if test "$have_fuzzer" = "yes"; then
FUZZ_LDFLAGS=" -fsanitize=fuzzer"
--
1.8.3.1
- [PATCH v8 00/20] Initial support for multi-process qemu, Jagannathan Raman, 2020/07/31
- [PATCH v8 02/20] multi-process: Add config option for multi-process QEMU,
Jagannathan Raman <=
- [PATCH v8 01/20] memory: alloc RAM from file at offset, Jagannathan Raman, 2020/07/31
- [PATCH v8 05/20] multi-process: add qio channel function to transmit, Jagannathan Raman, 2020/07/31
- [PATCH v8 07/20] multi-process: add co-routines to communicate with remote, Jagannathan Raman, 2020/07/31
- [PATCH v8 08/20] multi-process: Initialize message handler in remote device, Jagannathan Raman, 2020/07/31
- [PATCH v8 03/20] multi-process: setup PCI host bridge for remote device, Jagannathan Raman, 2020/07/31
- [PATCH v8 09/20] multi-process: Associate fd of a PCIDevice with its object, Jagannathan Raman, 2020/07/31
- [PATCH v8 04/20] multi-process: setup a machine object for remote device process, Jagannathan Raman, 2020/07/31
- [PATCH v8 11/20] multi-process: introduce proxy object, Jagannathan Raman, 2020/07/31
- [PATCH v8 13/20] multi-process: PCI BAR read/write handling for proxy & remote endpoints, Jagannathan Raman, 2020/07/31
- [PATCH v8 14/20] multi-process: Synchronize remote memory, Jagannathan Raman, 2020/07/31