[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 03/32] blockdev: Add dynamic module loading f
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 03/32] blockdev: Add dynamic module loading for block drivers |
Date: |
Wed, 6 Jul 2016 16:01:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 05.07.2016 17:24, Colin Lord wrote:
> From: Marc Mari <address@hidden>
>
> 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.
>
> 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>
> ---
> block.c | 110
> ++++++++++++++++++++++++++++++++++++++++++--------
> include/qemu/module.h | 3 ++
> util/module.c | 38 +++++------------
> 3 files changed, 108 insertions(+), 43 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
> diff --git a/block.c b/block.c
> index f4648e9..88a05b2 100644
> --- a/block.c
> +++ b/block.c
[...]
> + for (n = 0; n < ARRAY_SIZE(block_driver_modules); n++) {
(yay for post-increment)
signature.asc
Description: OpenPGP digital signature
Re: [Qemu-devel] [PATCH v3 04/32] blockdev: Move bochs probe into separate file, Max Reitz, 2016/07/06
[Qemu-devel] [PATCH v3 05/32] blockdev: Move cloop probe to its own file, Colin Lord, 2016/07/05
[Qemu-devel] [PATCH v3 03/32] blockdev: Add dynamic module loading for block drivers, Colin Lord, 2016/07/05
- Re: [Qemu-devel] [PATCH v3 03/32] blockdev: Add dynamic module loading for block drivers,
Max Reitz <=
[Qemu-devel] [PATCH v3 01/32] blockdev: prepare iSCSI block driver for dynamic loading, Colin Lord, 2016/07/05
[Qemu-devel] [PATCH v3 12/32] blockdev: Move raw probe to its own file, Colin Lord, 2016/07/05
[Qemu-devel] [PATCH v3 10/32] blockdev: Move qcow2 probe to its own file, Colin Lord, 2016/07/05
[Qemu-devel] [PATCH v3 09/32] blockdev: Move qcow probe to its own file, Colin Lord, 2016/07/05
[Qemu-devel] [PATCH v3 07/32] blockdev: Move dmg probe to its own file, Colin Lord, 2016/07/05