[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 16/18] blockdev: Modularize nfs block driver
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PULL 16/18] blockdev: Modularize nfs block driver |
Date: |
Wed, 14 Sep 2016 18:41:00 +0200 |
From: Colin Lord <address@hidden>
Modularizes the nfs block driver so that it gets dynamically loaded.
Signed-off-by: Colin Lord <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Reviewed-by: Max Reitz <address@hidden>
Signed-off-by: Max Reitz <address@hidden>
---
block/Makefile.objs | 1 +
configure | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/block/Makefile.objs b/block/Makefile.objs
index 3da471e..cb158e9 100644
--- a/block/Makefile.objs
+++ b/block/Makefile.objs
@@ -29,6 +29,7 @@ block-obj-y += crypto.o
common-obj-y += stream.o
+nfs.o-libs := $(LIBNFS_LIBS)
iscsi.o-cflags := $(LIBISCSI_CFLAGS)
iscsi.o-libs := $(LIBISCSI_LIBS)
curl.o-cflags := $(CURL_CFLAGS)
diff --git a/configure b/configure
index f4c589f..1ac97d8 100755
--- a/configure
+++ b/configure
@@ -4589,7 +4589,6 @@ if test "$libnfs" != "no" ; then
if $pkg_config --atleast-version=1.9.3 libnfs; then
libnfs="yes"
libnfs_libs=$($pkg_config --libs libnfs)
- LIBS="$LIBS $libnfs_libs"
else
if test "$libnfs" = "yes" ; then
feature_not_found "libnfs" "Install libnfs devel >= 1.9.3"
@@ -5362,7 +5361,8 @@ if test "$libiscsi" = "yes" ; then
fi
if test "$libnfs" = "yes" ; then
- echo "CONFIG_LIBNFS=y" >> $config_host_mak
+ echo "CONFIG_LIBNFS=m" >> $config_host_mak
+ echo "LIBNFS_LIBS=$libnfs_libs" >> $config_host_mak
fi
if test "$seccomp" = "yes"; then
--
2.5.5
- [Qemu-devel] [PULL 05/18] block: Add two dirty bitmap getters, (continued)
- [Qemu-devel] [PULL 05/18] block: Add two dirty bitmap getters, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 06/18] block: Assert that bdrv_release_dirty_bitmap succeeded, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 07/18] hbitmap: serialization, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 08/18] block: BdrvDirtyBitmap serialization interface, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 10/18] block: More operations for meta dirty bitmap, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 09/18] tests: Add test code for hbitmap serialization, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 11/18] qemu-img: add the 'dd' subcommand, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 13/18] blockdev: prepare iSCSI block driver for dynamic loading, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 12/18] qemu-img: add skip option to dd, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 14/18] blockdev: Add dynamic generation of module_block.h, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 16/18] blockdev: Modularize nfs block driver,
Max Reitz <=
- [Qemu-devel] [PULL 15/18] blockdev: Add dynamic module loading for block drivers, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 17/18] commit: get the overlay node before manipulating the backing chain, Max Reitz, 2016/09/14
- [Qemu-devel] [PULL 18/18] iotest 055: refactor and speed up, Max Reitz, 2016/09/14
- Re: [Qemu-devel] [PULL 00/18] Block layer patches, no-reply, 2016/09/14
- Re: [Qemu-devel] [PULL 00/18] Block layer patches, Peter Maydell, 2016/09/15
- [Qemu-devel] [PULL 00/18] Block layer patches, Kevin Wolf, 2016/09/27