From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZGwc-0002Bu-Me for qemu-devel@nongnu.org; Thu, 24 Oct 2013 05:11:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZGwX-0003Vp-4i for qemu-devel@nongnu.org; Thu, 24 Oct 2013 05:11:06 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:56565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZGwW-0003Vj-Tu for qemu-devel@nongnu.org; Thu, 24 Oct 2013 05:11:01 -0400 Received: by mail-wi0-f169.google.com with SMTP id cb5so9530113wib.2 for ; Thu, 24 Oct 2013 02:11:00 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5268E41C.9050406@redhat.com> Date: Thu, 24 Oct 2013 10:10:52 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1382600811-20043-1-git-send-email-pl@kamp.de> <1382600811-20043-18-git-send-email-pl@kamp.de> In-Reply-To: <1382600811-20043-18-git-send-email-pl@kamp.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv6 17/17] block/raw: copy BlockLimits on raw_open List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: kwolf@redhat.com, ronniesahlberg@gmail.com, qemu-devel@nongnu.org, stefanha@redhat.com Il 24/10/2013 08:46, Peter Lieven ha scritto: > Signed-off-by: Peter Lieven > --- > 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