summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2015-04-28 10:46:41 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2015-05-22 09:37:31 +0100
commitd0e61ce56d1520cade573eb344fdb136993d2279 (patch)
tree9dbccc96ae7e85008f55470e4d6ed7a7ea01671e
parent912f31281a683a24b552a8cc6c293ab389b62013 (diff)
downloadhqemu-d0e61ce56d1520cade573eb344fdb136993d2279.zip
hqemu-d0e61ce56d1520cade573eb344fdb136993d2279.tar.gz
block/parallels: mark parallels format driver as zero inited
From the guest point of view unallocated blocks are zeroed. Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Roman Kagan <rkagan@parallels.com> Signed-off-by: Roman Kagan <rkagan@parallels.com> Message-id: 1430207220-24458-9-git-send-email-den@openvz.org CC: Roman Kagan <rkagan@parallels.com> CC: Kevin Wolf <kwolf@redhat.com> CC: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r--block/parallels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/parallels.c b/block/parallels.c
index 138e618..ae64ce5 100644
--- a/block/parallels.c
+++ b/block/parallels.c
@@ -245,6 +245,7 @@ static BlockDriver bdrv_parallels = {
.bdrv_open = parallels_open,
.bdrv_close = parallels_close,
.bdrv_co_get_block_status = parallels_co_get_block_status,
+ .bdrv_has_zero_init = bdrv_has_zero_init_1,
.bdrv_co_readv = parallels_co_readv,
};
OpenPOWER on IntegriCloud