From: Peter Lieven Date: Thu, 24 Oct 2013 10:06:57 +0000 (+0200) Subject: block/raw: copy BlockLimits on raw_open X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=04f19e4d2da4325297c99e94f20b0aca52546209;p=qemu.git block/raw: copy BlockLimits on raw_open Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi --- diff --git a/block/raw_bsd.c b/block/raw_bsd.c index fb5181b127..978ae7a102 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; }