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: Peter Lieven
Subject: Re: [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open
Date: Thu, 24 Oct 2013 11:12:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 24.10.2013 11:10, Paolo Bonzini wrote:
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.
You are the first to mention this. I was thinking the whole series will
be seen as once so it shouldn't matter.

Peter



reply via email to

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