]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Fix bdrv_has_zero_init
authorKevin Wolf <kwolf@redhat.com>
Wed, 28 Jul 2010 09:26:29 +0000 (11:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 3 Aug 2010 14:39:53 +0000 (16:39 +0200)
commitada70b452236757a07df73e8ab44cb343c3ab2fe
tree00eedd3d781ac6061696a6ceba5623f7737872bb
parent8f6e28789faeac4f01f8dbfdac147a3d3b635f24
block: Fix bdrv_has_zero_init

Assuming that any image on a block device is not properly zero-initialized is
actually wrong: Only raw images have this problem. Any other image format
shouldn't care about it, they initialize everything properly themselves.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 336c1c12551ff0a6e1a2af226d6cbdbadd2e02b5)
block.c
block/raw-posix.c
block/raw-win32.c
block/raw.c
block_int.h