Skip to content

Commit

Permalink
block/parallels: mark parallels format driver as zero inited
Browse files Browse the repository at this point in the history
From the guest point of view unallocated blocks are zeroed.

Signed-off-by: Denis V. Lunev <[email protected]>
Reviewed-by: Roman Kagan <[email protected]>
Signed-off-by: Roman Kagan <[email protected]>
Message-id: [email protected]
CC: Roman Kagan <[email protected]>
CC: Kevin Wolf <[email protected]>
CC: Stefan Hajnoczi <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
  • Loading branch information
Denis V. Lunev authored and stefanhaRH committed May 22, 2015
1 parent 912f312 commit d0e61ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/parallels.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit d0e61ce

Please sign in to comment.