提交 dfb278bd 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

Add vde to new feature convencion

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 4ffcedb6
...@@ -178,6 +178,8 @@ esac ...@@ -178,6 +178,8 @@ esac
# --enable-foo that exits if feature is not found # --enable-foo that exits if feature is not found
brlapi="" brlapi=""
vde=""
gprof="no" gprof="no"
debug_tcg="no" debug_tcg="no"
debug="no" debug="no"
...@@ -187,7 +189,6 @@ bigendian="no" ...@@ -187,7 +189,6 @@ bigendian="no"
mingw32="no" mingw32="no"
EXESUF="" EXESUF=""
slirp="yes" slirp="yes"
vde="yes"
fmod_lib="" fmod_lib=""
fmod_inc="" fmod_inc=""
oss_lib="" oss_lib=""
...@@ -440,6 +441,8 @@ for opt do ...@@ -440,6 +441,8 @@ for opt do
;; ;;
--disable-vde) vde="no" --disable-vde) vde="no"
;; ;;
--enable-vde) vde="yes"
;;
--disable-xen) xen="no" --disable-xen) xen="no"
;; ;;
--disable-brlapi) brlapi="no" --disable-brlapi) brlapi="no"
...@@ -636,6 +639,7 @@ echo " --oss-lib path to OSS library" ...@@ -636,6 +639,7 @@ echo " --oss-lib path to OSS library"
echo " --enable-uname-release=R Return R for uname -r in usermode emulation" echo " --enable-uname-release=R Return R for uname -r in usermode emulation"
echo " --sparc_cpu=V Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9" echo " --sparc_cpu=V Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
echo " --disable-vde disable support for vde network" echo " --disable-vde disable support for vde network"
echo " --enable-vde enable support for vde network"
echo " --enable-io-thread enable IO thread" echo " --enable-io-thread enable IO thread"
echo " --disable-blobs disable installing provided firmware blobs" echo " --disable-blobs disable installing provided firmware blobs"
echo " --kerneldir=PATH look for kernel includes in PATH" echo " --kerneldir=PATH look for kernel includes in PATH"
...@@ -952,8 +956,7 @@ fi ...@@ -952,8 +956,7 @@ fi
########################################## ##########################################
# vde libraries probe # vde libraries probe
if test "$vde" = "yes" ; then if test "$vde" != "no" ; then
vde=no
vde_libs="-lvdeplug" vde_libs="-lvdeplug"
cat > $TMPC << EOF cat > $TMPC << EOF
#include <libvdeplug.h> #include <libvdeplug.h>
...@@ -968,6 +971,11 @@ EOF ...@@ -968,6 +971,11 @@ EOF
vde=yes vde=yes
libs_softmmu="$vde_libs $libs_softmmu" libs_softmmu="$vde_libs $libs_softmmu"
libs_tools="$vde_libs $libs_tools" libs_tools="$vde_libs $libs_tools"
else
if test "$vde" = "yes" ; then
feature_not_found "vde"
fi
vde=no
fi fi
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册