[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v11 02/19] multi-process: Add config option for multi-process QEM
From: |
Jagannathan Raman |
Subject: |
[PATCH v11 02/19] multi-process: Add config option for multi-process QEMU |
Date: |
Thu, 15 Oct 2020 14:04:55 -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 | 10 ++++++++++
meson.build | 1 +
2 files changed, 11 insertions(+)
diff --git a/configure b/configure
index f839c2a..2025e89 100755
--- a/configure
+++ b/configure
@@ -447,6 +447,7 @@ meson=""
ninja=""
skip_meson=no
gettext=""
+mpqemu="no"
bogus_os="no"
malloc_trim="auto"
@@ -1520,6 +1521,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"
@@ -1838,6 +1843,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
@@ -6737,6 +6744,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 LIB_FUZZING_ENGINE is set, assume we are running on OSS-Fuzz, and the
# needed CFLAGS have already been provided
diff --git a/meson.build b/meson.build
index 1a4a482..bbcf524 100644
--- a/meson.build
+++ b/meson.build
@@ -2091,6 +2091,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)
--
1.8.3.1
- [PATCH v11 00/19] Initial support for multi-process Qemu, Jagannathan Raman, 2020/10/15
- [PATCH v11 01/19] memory: alloc RAM from file at offset, Jagannathan Raman, 2020/10/15
- [PATCH v11 03/19] multi-process: setup PCI host bridge for remote device, Jagannathan Raman, 2020/10/15
- [PATCH v11 08/19] multi-process: Associate fd of a PCIDevice with its object, Jagannathan Raman, 2020/10/15
- [PATCH v11 02/19] multi-process: Add config option for multi-process QEMU,
Jagannathan Raman <=
- [PATCH v11 10/19] multi-process: introduce proxy object, Jagannathan Raman, 2020/10/15
- [PATCH v11 04/19] multi-process: setup a machine object for remote device process, Jagannathan Raman, 2020/10/15
- [PATCH v11 12/19] multi-process: Forward PCI config space acceses to the remote process, Jagannathan Raman, 2020/10/15
- [PATCH v11 11/19] multi-process: add proxy communication functions, Jagannathan Raman, 2020/10/15
- [PATCH v11 09/19] multi-process: setup memory manager for remote device, Jagannathan Raman, 2020/10/15