[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers |
Date: |
Mon, 8 Aug 2016 16:22:23 +0100 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
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Ă <address@hidden>
> Signed-off-by: Colin Lord <address@hidden>
> ---
> 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 <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-block] [PATCH v6 0/4] Dynamic module loading for block drivers, Colin Lord, 2016/08/02
- [Qemu-block] [PATCH v6 1/4] blockdev: prepare iSCSI block driver for dynamic loading, Colin Lord, 2016/08/02
- [Qemu-block] [PATCH v6 2/4] blockdev: Add dynamic generation of module_block.h, Colin Lord, 2016/08/02
- [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers, Colin Lord, 2016/08/02
- Re: [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers,
Stefan Hajnoczi <=
- [Qemu-block] [PATCH v6 4/4] blockdev: Modularize nfs block driver, Colin Lord, 2016/08/02
- Re: [Qemu-block] [PATCH v6 0/4] Dynamic module loading for block drivers, Colin Lord, 2016/08/02