From: Stefan Hajnoczi <stefanha@gmail.com>
To: Colin Lord <clord@redhat.com>
Cc: qemu-devel@nongnu.org, kwolf@redhat.com,
"Marc Marí" <markmb@redhat.com>,
qemu-block@nongnu.org, mreitz@redhat.com
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers
Date: Mon, 8 Aug 2016 16:22:23 +0100 [thread overview]
Message-ID: <20160808152223.GG25553@stefanha-x1.localdomain> (raw)
In-Reply-To: <1470147137-21970-4-git-send-email-clord@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
On Tue, Aug 02, 2016 at 10:12:16AM -0400, Colin Lord wrote:
> Extend the current module interface to allow for block drivers to be
> loaded dynamically on request. The only block drivers that can be
> converted into modules are the drivers that don't perform any init
> operation except for registering themselves.
>
> In addition, only the protocol drivers are being modularized, as they
> are the only ones which see significant performance benefits. The format
> drivers do not generally link to external libraries, so modularizing
> them is of no benefit from a performance perspective.
>
> All the necessary module information is located in a new structure found
> in module_block.h
>
> Signed-off-by: Marc Marí <markmb@redhat.com>
> Signed-off-by: Colin Lord <clord@redhat.com>
> ---
> Makefile | 3 ---
> block.c | 62 +++++++++++++++++++++++++++++++++++++++++++++------
> block/Makefile.objs | 3 +--
> include/qemu/module.h | 3 +++
> util/module.c | 38 +++++++++----------------------
> 5 files changed, 70 insertions(+), 39 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-08-08 15:22 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 ` Stefan Hajnoczi [this message]
2016-08-02 14:12 ` [Qemu-devel] [PATCH v6 4/4] blockdev: Modularize nfs block driver Colin Lord
2016-08-08 15:23 ` [Qemu-devel] [Qemu-block] " 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=20160808152223.GG25553@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=clord@redhat.com \
--cc=kwolf@redhat.com \
--cc=markmb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).