projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3399833
)
parallels: Assign bs->file->bs to file in parallels_co_get_block_status
author
Fam Zheng
<famz@redhat.com>
Tue, 26 Jan 2016 03:58:53 +0000
(11:58 +0800)
committer
Max Reitz
<mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:47 +0000
(17:50 +0100)
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id:
1453780743
-16806-7-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/parallels.c
patch
|
blob
|
history
diff --git
a/block/parallels.c
b/block/parallels.c
index e2de308efaaffbf8440be5a1f806949f4c03c3a0..645521d783e01e259bcad3ae30e82eac6b0c8f84 100644
(file)
--- a/
block/parallels.c
+++ b/
block/parallels.c
@@
-274,6
+274,7
@@
static int64_t coroutine_fn parallels_co_get_block_status(BlockDriverState *bs,
return 0;
}
+ *file = bs->file->bs;
return (offset << BDRV_SECTOR_BITS) |
BDRV_BLOCK_DATA | BDRV_BLOCK_OFFSET_VALID;
}