[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open |
Date: |
Thu, 24 Oct 2013 10:10:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 24/10/2013 08:46, Peter Lieven ha scritto:
> Signed-off-by: Peter Lieven <address@hidden>
> ---
> block/raw_bsd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/block/raw_bsd.c b/block/raw_bsd.c
> index b0dd23f..49ac18c 100644
> --- a/block/raw_bsd.c
> +++ b/block/raw_bsd.c
> @@ -150,6 +150,7 @@ static int raw_open(BlockDriverState *bs, QDict *options,
> int flags,
> Error **errp)
> {
> bs->sg = bs->file->sg;
> + bs->bl = bs->file->bl;
> return 0;
> }
>
>
This must be moved before the introduction of BlockLimits in the iscsi
driver, or patches that use BlockLimits in block.c will not have any effect.
Paolo
- [Qemu-devel] [PATCHv6 09/17] block: honour BlockLimits in bdrv_co_discard, (continued)
- [Qemu-devel] [PATCHv6 09/17] block: honour BlockLimits in bdrv_co_discard, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 10/17] iscsi: simplify iscsi_co_discard, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 14/17] block/get_block_status: fix BDRV_BLOCK_ZERO for unallocated blocks, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 13/17] block: introduce bdrv_make_zero, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 12/17] iscsi: add bdrv_co_write_zeroes, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 16/17] qemu-img: conditionally zero out target on convert, Peter Lieven, 2013/10/24
- [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open, Peter Lieven, 2013/10/24
- Re: [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open,
Paolo Bonzini <=
- [Qemu-devel] [PATCHv6 15/17] qemu-img: add support for fully allocated images, Peter Lieven, 2013/10/24