From 04f19e4d2da4325297c99e94f20b0aca52546209 Mon Sep 17 00:00:00 2001 From: Peter Lieven Date: Thu, 24 Oct 2013 12:06:57 +0200 Subject: [PATCH] block/raw: copy BlockLimits on raw_open Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi --- block/raw_bsd.c | 1 + 1 file changed, 1 insertion(+) 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; }