提交 04f19e4d 编写于 作者: P Peter Lieven 提交者: Kevin Wolf

block/raw: copy BlockLimits on raw_open

Signed-off-by: NPeter Lieven <pl@kamp.de>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 fe81c2cc
...@@ -150,6 +150,7 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags, ...@@ -150,6 +150,7 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags,
Error **errp) Error **errp)
{ {
bs->sg = bs->file->sg; bs->sg = bs->file->sg;
bs->bl = bs->file->bl;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册