]> git.proxmox.com Git - qemu.git/commit
block: bdrv_has_zero_init
authorKevin Wolf <kwolf@redhat.com>
Wed, 14 Apr 2010 15:30:35 +0000 (17:30 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 3 May 2010 08:07:30 +0000 (10:07 +0200)
commitf2feebbd93c251ec0098a9ccf808f7cb1da7f67c
treefde14df96e8e8e8ebadde50eb0184183c2e59dc5
parent66f82ceed6781261c09e65fb440ca76842fd0500
block: bdrv_has_zero_init

This fixes the problem that qemu-img's use of no_zero_init only considered the
no_zero_init flag of the format driver, but not of the underlying protocols.

Between the raw/file split and this fix, converting to host devices is broken.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
qemu-img.c