mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Block patches
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJS9ziDAAoJEH8JsnLIjy/WPLUP/3S9OfbaRWcz5beambW+5i/0 9IeK1jdlb2BkxBu2pMr74RtAmd0JcR5tZTzt5iEGWFZMjwMnGAyiiwqNcraQL/01 UMPwZCeQBbBJihfp+jA9Pez5p5ruWcS2P0wWGgszaLb2zwIk8t20elc9ctmE+/hl kB5O2Ig6TKf/C9grO+9c1QkEfPBygLLZwspm8AFI8gvrqOQ7tpN3LqkVjRyNegUI orprqXEZrWzQuKYhERMgcWOZjtUGILhYuzaCTPpVW9YnnCNzgwjMaKdKK+IgVr2s qdnCjWHJavZp9/3iRjTKURwk9gmeJOlbPp+hUu3maeMj4r8bzQK89p6RSAbiXCuI fC10Z/i5qmftlOdZwiIm19tqEfevgnnSYorZq3ALVR4nC4eruPNjpTIJNJ41Le5M SF90umsw86OkOR2KIm3DfXEla85ftUh/54aaVr80b8lfogJpHa0zfurVZwHGXBOx 7wHFa1bcwRg4F8wAY8ptSwMxp97JGJADvQj+PzlK1WLIeeXp7Nh1jlVBg9HW1YVa AlKJAn2+hvUIuF3wbz8rkS2eKKnkjtsqjkQAWlsoAhQ79FiLBJ4SmgWftNgIqCKt Yh5dUY/bC5gM0O0eR+U4oBl/wqj9s/nei0waJ6snvgXkLJBoN3yuP1C3mfLx1o4v /XubiSe7z3+9zPL30GKb =XErB -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/kevin/tags/for-anthony' into staging Block patches # gpg: Signature made Sun 09 Feb 2014 08:12:51 GMT using RSA key ID C88F2FD6 # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" * remotes/kevin/tags/for-anthony: block: Fix 32 bit truncation in mark_request_serialising() blkdebug: Don't leak bs->file on failure block: Don't call ROUND_UP with negative values block: bdrv_aligned_pwritev: Assert overlap range block: Fix memory leaks in bdrv_co_do_pwritev() raw: Fix BlockLimits passthrough qemu-iotests: add test for qcow2 preallocation with different cluster sizes qcow2: check for NULL l2meta qcow2: fix offset overflow in qcow2_alloc_clusters_at() qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset() block/iscsi: always fill bs->bl.opt_transfer_length block: Fail gracefully with missing filename qemu-iotests: enable support for NFS protocol qemu-iotests: enable test 016 and 025 to work with NFS protocol qemu-iotests: blacklist test 020 for NFS protocol qemu-iotests: change _supported_proto to file for various tests block: add native support for NFS qemu-iotest: Make 077 raw-only Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
628a746cf0
50 changed files with 730 additions and 84 deletions
26
configure
vendored
26
configure
vendored
|
@ -251,6 +251,7 @@ vss_win32_sdk=""
|
|||
win_sdk="no"
|
||||
want_tools="yes"
|
||||
libiscsi=""
|
||||
libnfs=""
|
||||
coroutine=""
|
||||
coroutine_pool=""
|
||||
seccomp=""
|
||||
|
@ -840,6 +841,10 @@ for opt do
|
|||
;;
|
||||
--enable-libiscsi) libiscsi="yes"
|
||||
;;
|
||||
--disable-libnfs) libnfs="no"
|
||||
;;
|
||||
--enable-libnfs) libnfs="yes"
|
||||
;;
|
||||
--enable-profiler) profiler="yes"
|
||||
;;
|
||||
--disable-cocoa) cocoa="no"
|
||||
|
@ -1229,6 +1234,8 @@ Advanced options (experts only):
|
|||
--enable-rbd enable building the rados block device (rbd)
|
||||
--disable-libiscsi disable iscsi support
|
||||
--enable-libiscsi enable iscsi support
|
||||
--disable-libnfs disable nfs support
|
||||
--enable-libnfs enable nfs support
|
||||
--disable-smartcard-nss disable smartcard nss support
|
||||
--enable-smartcard-nss enable smartcard nss support
|
||||
--disable-libusb disable libusb (for usb passthrough)
|
||||
|
@ -3600,6 +3607,20 @@ elif test "$debug" = "no" ; then
|
|||
CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# Do we have libnfs
|
||||
if test "$libnfs" != "no" ; then
|
||||
if $pkg_config --atleast-version=1.9.2 libnfs; then
|
||||
libnfs="yes"
|
||||
libnfs_libs=$($pkg_config --libs libnfs)
|
||||
LIBS="$LIBS $libnfs_libs"
|
||||
else
|
||||
if test "$libnfs" = "yes" ; then
|
||||
feature_not_found "libnfs"
|
||||
fi
|
||||
libnfs="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable zero malloc errors for official releases unless explicitly told to
|
||||
# enable/disable
|
||||
|
@ -3829,6 +3850,7 @@ echo "libiscsi support $libiscsi (1.4.0)"
|
|||
else
|
||||
echo "libiscsi support $libiscsi"
|
||||
fi
|
||||
echo "libnfs support $libnfs"
|
||||
echo "build guest agent $guest_agent"
|
||||
echo "QGA VSS support $guest_agent_with_vss"
|
||||
echo "seccomp support $seccomp"
|
||||
|
@ -4165,6 +4187,10 @@ if test "$libiscsi" = "yes" ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if test "$libnfs" = "yes" ; then
|
||||
echo "CONFIG_LIBNFS=y" >> $config_host_mak
|
||||
fi
|
||||
|
||||
if test "$seccomp" = "yes"; then
|
||||
echo "CONFIG_SECCOMP=y" >> $config_host_mak
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue