[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v10 02/19] multi-process: Add config option for multi-process QEM
From: |
elena . ufimtseva |
Subject: |
[PATCH v10 02/19] multi-process: Add config option for multi-process QEMU |
Date: |
Mon, 5 Oct 2020 11:50:50 -0700 |
From: Jagannathan Raman <jag.raman@oracle.com>
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 | 10 ++++++++++
meson.build | 1 +
2 files changed, 11 insertions(+)
diff --git a/configure b/configure
index b1e11397a8..a602f34f87 100755
--- a/configure
+++ b/configure
@@ -570,6 +570,7 @@ libdaxctl=""
meson=""
skip_meson=no
gettext=""
+mpqemu="no"
bogus_os="no"
malloc_trim=""
@@ -1661,6 +1662,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"
@@ -1984,6 +1989,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
@@ -7502,6 +7509,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
QEMU_CFLAGS="$QEMU_CFLAGS -fsanitize=fuzzer-no-link"
fi
diff --git a/meson.build b/meson.build
index f0fe5f8799..9f2092d80d 100644
--- a/meson.build
+++ b/meson.build
@@ -1426,6 +1426,7 @@ endif
summary_info += {'thread sanitizer': config_host.has_key('CONFIG_TSAN')}
summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
summary_info += {'Linux keyring':
config_host.has_key('CONFIG_SECRET_KEYRING')}
+summary_info += {'Multi-Process QEMU': config_host.has_key('CONFIG_MPQEMU')}
summary(summary_info, bool_yn: true)
if not supported_cpus.contains(cpu)
--
2.25.GIT
- [PATCH v10 00/19] Initial support for multi-process Qemu, elena . ufimtseva, 2020/10/05
- [PATCH v10 06/19] multi-process: define MPQemuMsg format and transmission functions, elena . ufimtseva, 2020/10/05
- [PATCH v10 02/19] multi-process: Add config option for multi-process QEMU,
elena . ufimtseva <=
- [PATCH v10 01/19] memory: alloc RAM from file at offset, elena . ufimtseva, 2020/10/05
- [PATCH v10 07/19] multi-process: Initialize message handler in remote device, elena . ufimtseva, 2020/10/05
- [PATCH v10 03/19] multi-process: setup PCI host bridge for remote device, elena . ufimtseva, 2020/10/05
- [PATCH v10 05/19] multi-process: add qio channel function to transmit, elena . ufimtseva, 2020/10/05
- [PATCH v10 08/19] multi-process: Associate fd of a PCIDevice with its object, elena . ufimtseva, 2020/10/05
- [PATCH v10 09/19] multi-process: setup memory manager for remote device, elena . ufimtseva, 2020/10/05
- [PATCH v10 12/19] multi-process: Forward PCI config space acceses to the remote process, elena . ufimtseva, 2020/10/05
- [PATCH v10 10/19] multi-process: introduce proxy object, elena . ufimtseva, 2020/10/05