[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 1/3] configure: Add option in configure to disabl
From: |
Jeff Cody |
Subject: |
[Qemu-block] [PATCH v2 1/3] configure: Add option in configure to disable live block ops |
Date: |
Wed, 30 Aug 2017 13:01:40 -0400 |
From: Jeffrey Cody <address@hidden>
This adds in the option to disable the live block operations. The
resultant config option is not checked until subsequent patches.
Signed-off-by: Jeff Cody <address@hidden>
---
configure | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/configure b/configure
index dd73cce..24bde07 100755
--- a/configure
+++ b/configure
@@ -400,6 +400,7 @@ virglrenderer=""
tpm="yes"
libssh2=""
live_block_migration="yes"
+live_block_ops="yes"
numa=""
tcmalloc="no"
jemalloc="no"
@@ -1263,6 +1264,10 @@ for opt do
;;
--enable-live-block-migration) live_block_migration="yes"
;;
+ --disable-live-block-ops) live_block_ops="no"
+ ;;
+ --enable-live-block-ops) live_block_ops="yes"
+ ;;
--disable-numa) numa="no"
;;
--enable-numa) numa="yes"
@@ -1513,6 +1518,7 @@ disabled with --disable-FEATURE, default is enabled if
available:
smartcard smartcard support (libcacard)
libusb libusb (for usb passthrough)
live-block-migration Block migration in the main migration stream
+ live-block-ops live block operations support
usb-redir usb network redirection support
lzo support of lzo compression library
snappy support of snappy compression library
@@ -5398,6 +5404,7 @@ echo "libssh2 support $libssh2"
echo "TPM passthrough $tpm_passthrough"
echo "QOM debugging $qom_cast_debug"
echo "Live block migration $live_block_migration"
+echo "Live block ops $live_block_ops"
echo "lzo support $lzo"
echo "snappy support $snappy"
echo "bzip2 support $bzip2"
@@ -5976,6 +5983,10 @@ if test "$live_block_migration" = "yes" ; then
echo "CONFIG_LIVE_BLOCK_MIGRATION=y" >> $config_host_mak
fi
+if test "$live_block_ops" = "yes" ; then
+ echo "CONFIG_LIVE_BLOCK_OPS=y" >> $config_host_mak
+fi
+
# USB host support
if test "$libusb" = "yes"; then
echo "HOST_USB=libusb legacy" >> $config_host_mak
--
2.9.5