qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]