|
@@ -317,10 +317,8 @@ pie=""
|
|
trace_backends="log"
|
|
trace_backends="log"
|
|
trace_file="trace"
|
|
trace_file="trace"
|
|
opengl="$default_feature"
|
|
opengl="$default_feature"
|
|
-guest_agent="$default_feature"
|
|
|
|
vss_win32_sdk="$default_feature"
|
|
vss_win32_sdk="$default_feature"
|
|
win_sdk="no"
|
|
win_sdk="no"
|
|
-want_tools="$default_feature"
|
|
|
|
coroutine=""
|
|
coroutine=""
|
|
tls_priority="NORMAL"
|
|
tls_priority="NORMAL"
|
|
plugins="$default_feature"
|
|
plugins="$default_feature"
|
|
@@ -960,10 +958,6 @@ for opt do
|
|
;;
|
|
;;
|
|
--disable-zlib-test)
|
|
--disable-zlib-test)
|
|
;;
|
|
;;
|
|
- --enable-guest-agent) guest_agent="yes"
|
|
|
|
- ;;
|
|
|
|
- --disable-guest-agent) guest_agent="no"
|
|
|
|
- ;;
|
|
|
|
--with-vss-sdk) vss_win32_sdk=""
|
|
--with-vss-sdk) vss_win32_sdk=""
|
|
;;
|
|
;;
|
|
--with-vss-sdk=*) vss_win32_sdk="$optarg"
|
|
--with-vss-sdk=*) vss_win32_sdk="$optarg"
|
|
@@ -976,10 +970,6 @@ for opt do
|
|
;;
|
|
;;
|
|
--without-win-sdk) win_sdk="no"
|
|
--without-win-sdk) win_sdk="no"
|
|
;;
|
|
;;
|
|
- --enable-tools) want_tools="yes"
|
|
|
|
- ;;
|
|
|
|
- --disable-tools) want_tools="no"
|
|
|
|
- ;;
|
|
|
|
--disable-virtio-blk-data-plane|--enable-virtio-blk-data-plane)
|
|
--disable-virtio-blk-data-plane|--enable-virtio-blk-data-plane)
|
|
echo "$0: $opt is obsolete, virtio-blk data-plane is always on" >&2
|
|
echo "$0: $opt is obsolete, virtio-blk data-plane is always on" >&2
|
|
;;
|
|
;;
|
|
@@ -1256,7 +1246,6 @@ cat << EOF
|
|
user supported user emulation targets
|
|
user supported user emulation targets
|
|
linux-user all linux usermode emulation targets
|
|
linux-user all linux usermode emulation targets
|
|
bsd-user all BSD usermode emulation targets
|
|
bsd-user all BSD usermode emulation targets
|
|
- guest-agent build the QEMU Guest Agent
|
|
|
|
pie Position Independent Executables
|
|
pie Position Independent Executables
|
|
modules modules support (non-Windows)
|
|
modules modules support (non-Windows)
|
|
module-upgrades try to load modules from alternate paths for upgrades
|
|
module-upgrades try to load modules from alternate paths for upgrades
|
|
@@ -1275,7 +1264,6 @@ cat << EOF
|
|
vhost-user vhost-user backend support
|
|
vhost-user vhost-user backend support
|
|
vhost-vdpa vhost-vdpa kernel backend support
|
|
vhost-vdpa vhost-vdpa kernel backend support
|
|
opengl opengl support
|
|
opengl opengl support
|
|
- tools build qemu-io, qemu-nbd and qemu-img tools
|
|
|
|
gio libgio support
|
|
gio libgio support
|
|
|
|
|
|
NOTE: The object files are built at the place where configure is launched
|
|
NOTE: The object files are built at the place where configure is launched
|
|
@@ -1678,16 +1666,6 @@ else
|
|
exit 1
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
|
|
-##########################################
|
|
|
|
-# system tools
|
|
|
|
-if test -z "$want_tools"; then
|
|
|
|
- if test "$softmmu" = "no"; then
|
|
|
|
- want_tools=no
|
|
|
|
- else
|
|
|
|
- want_tools=yes
|
|
|
|
- fi
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
#########################################
|
|
#########################################
|
|
# vhost interdependencies and host support
|
|
# vhost interdependencies and host support
|
|
|
|
|
|
@@ -2344,7 +2322,7 @@ fi
|
|
# check if we have VSS SDK headers for win
|
|
# check if we have VSS SDK headers for win
|
|
|
|
|
|
guest_agent_with_vss="no"
|
|
guest_agent_with_vss="no"
|
|
-if test "$mingw32" = "yes" && test "$guest_agent" != "no" && \
|
|
|
|
|
|
+if test "$mingw32" = "yes" && \
|
|
test "$vss_win32_sdk" != "no" ; then
|
|
test "$vss_win32_sdk" != "no" ; then
|
|
case "$vss_win32_sdk" in
|
|
case "$vss_win32_sdk" in
|
|
"") vss_win32_include="-isystem $source_path" ;;
|
|
"") vss_win32_include="-isystem $source_path" ;;
|
|
@@ -2381,7 +2359,7 @@ fi
|
|
# VSS provider from the source. It is usually unnecessary because the
|
|
# VSS provider from the source. It is usually unnecessary because the
|
|
# pre-compiled .tlb file is included.
|
|
# pre-compiled .tlb file is included.
|
|
|
|
|
|
-if test "$mingw32" = "yes" && test "$guest_agent" != "no" && \
|
|
|
|
|
|
+if test "$mingw32" = "yes" && \
|
|
test "$guest_agent_with_vss" = "yes" ; then
|
|
test "$guest_agent_with_vss" = "yes" ; then
|
|
if test -z "$win_sdk"; then
|
|
if test -z "$win_sdk"; then
|
|
programfiles="$PROGRAMFILES"
|
|
programfiles="$PROGRAMFILES"
|
|
@@ -2399,7 +2377,7 @@ fi
|
|
##########################################
|
|
##########################################
|
|
# check if mingw environment provides a recent ntddscsi.h
|
|
# check if mingw environment provides a recent ntddscsi.h
|
|
guest_agent_ntddscsi="no"
|
|
guest_agent_ntddscsi="no"
|
|
-if test "$mingw32" = "yes" && test "$guest_agent" != "no"; then
|
|
|
|
|
|
+if test "$mingw32" = "yes"; then
|
|
cat > $TMPC << EOF
|
|
cat > $TMPC << EOF
|
|
#include <windows.h>
|
|
#include <windows.h>
|
|
#include <ntddscsi.h>
|
|
#include <ntddscsi.h>
|
|
@@ -2825,20 +2803,6 @@ if test "$mingw32" = "yes" ; then
|
|
done
|
|
done
|
|
fi
|
|
fi
|
|
|
|
|
|
-# Probe for guest agent support/options
|
|
|
|
-
|
|
|
|
-if [ "$guest_agent" != "no" ]; then
|
|
|
|
- if [ "$softmmu" = no -a "$want_tools" = no ] ; then
|
|
|
|
- guest_agent=no
|
|
|
|
- elif [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
|
|
|
|
- guest_agent=yes
|
|
|
|
- elif [ "$guest_agent" != yes ]; then
|
|
|
|
- guest_agent=no
|
|
|
|
- else
|
|
|
|
- error_exit "Guest agent is not supported on this platform"
|
|
|
|
- fi
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
# Guest agent Windows MSI package
|
|
# Guest agent Windows MSI package
|
|
|
|
|
|
if test "$QEMU_GA_MANUFACTURER" = ""; then
|
|
if test "$QEMU_GA_MANUFACTURER" = ""; then
|
|
@@ -2968,12 +2932,6 @@ fi
|
|
if test "$static" = "yes" ; then
|
|
if test "$static" = "yes" ; then
|
|
echo "CONFIG_STATIC=y" >> $config_host_mak
|
|
echo "CONFIG_STATIC=y" >> $config_host_mak
|
|
fi
|
|
fi
|
|
-if test "$want_tools" = "yes" ; then
|
|
|
|
- echo "CONFIG_TOOLS=y" >> $config_host_mak
|
|
|
|
-fi
|
|
|
|
-if test "$guest_agent" = "yes" ; then
|
|
|
|
- echo "CONFIG_GUEST_AGENT=y" >> $config_host_mak
|
|
|
|
-fi
|
|
|
|
echo "CONFIG_BDRV_RW_WHITELIST=$block_drv_rw_whitelist" >> $config_host_mak
|
|
echo "CONFIG_BDRV_RW_WHITELIST=$block_drv_rw_whitelist" >> $config_host_mak
|
|
echo "CONFIG_BDRV_RO_WHITELIST=$block_drv_ro_whitelist" >> $config_host_mak
|
|
echo "CONFIG_BDRV_RO_WHITELIST=$block_drv_ro_whitelist" >> $config_host_mak
|
|
qemu_version=$(head $source_path/VERSION)
|
|
qemu_version=$(head $source_path/VERSION)
|