aboutsummaryrefslogtreecommitdiff
path: root/block/raw_bsd.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2013-10-24 12:06:57 +0200
committerKevin Wolf <kwolf@redhat.com>2013-11-28 10:30:51 +0100
commit04f19e4d2da4325297c99e94f20b0aca52546209 (patch)
tree513fbca5447a58b5f21e95ca4f463bd3ada99a29 /block/raw_bsd.c
parentfe81c2cca6dc69a5e423f6d8b235606b7f3ca7b7 (diff)
downloadqemu-04f19e4d2da4325297c99e94f20b0aca52546209.zip
qemu-04f19e4d2da4325297c99e94f20b0aca52546209.tar.gz
qemu-04f19e4d2da4325297c99e94f20b0aca52546209.tar.bz2
block/raw: copy BlockLimits on raw_open
Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/raw_bsd.c')
-rw-r--r--block/raw_bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/raw_bsd.c b/block/raw_bsd.c
index fb5181b..978ae7a 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;
}