From: Colin Lord <clord@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, qemu-block@nongnu.org, mreitz@redhat.com,
Colin Lord <clord@redhat.com>
Subject: [Qemu-devel] [PATCH v6 4/4] blockdev: Modularize nfs block driver
Date: Tue, 2 Aug 2016 10:12:17 -0400 [thread overview]
Message-ID: <1470147137-21970-5-git-send-email-clord@redhat.com> (raw)
In-Reply-To: <1470147137-21970-1-git-send-email-clord@redhat.com>
Modularizes the nfs block driver so that it gets dynamically loaded.
---
block/Makefile.objs | 1 +
configure | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/block/Makefile.objs b/block/Makefile.objs
index 595f366..fa4d8b8 100644
--- a/block/Makefile.objs
+++ b/block/Makefile.objs
@@ -28,6 +28,7 @@ block-obj-y += crypto.o
common-obj-y += stream.o
common-obj-y += backup.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 f57fcc6..f1e7d14 100755
--- a/configure
+++ b/configure
@@ -4561,7 +4561,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"
@@ -5320,7 +5319,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
next prev parent reply other threads:[~2016-08-02 14:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 14:12 [Qemu-devel] [PATCH v6 0/4] Dynamic module loading for block drivers Colin Lord
2016-08-02 14:12 ` [Qemu-devel] [PATCH v6 1/4] blockdev: prepare iSCSI block driver for dynamic loading Colin Lord
2016-08-08 15:18 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2016-08-08 17:54 ` Colin Lord
2016-08-02 14:12 ` [Qemu-devel] [PATCH v6 2/4] blockdev: Add dynamic generation of module_block.h Colin Lord
2016-08-08 15:20 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2016-08-02 14:12 ` [Qemu-devel] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers Colin Lord
2016-08-08 15:22 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2016-08-02 14:12 ` Colin Lord [this message]
2016-08-08 15:23 ` [Qemu-devel] [Qemu-block] [PATCH v6 4/4] blockdev: Modularize nfs block driver Stefan Hajnoczi
2016-08-02 14:17 ` [Qemu-devel] [PATCH v6 0/4] Dynamic module loading for block drivers Colin Lord
2016-08-03 6:28 ` Fam Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470147137-21970-5-git-send-email-clord@redhat.com \
--to=clord@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.