summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/059.out
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-12-04 11:06:36 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-12-09 11:40:30 -0600
commit982c8c5e209d0331f06c0d6bd9a440aa67a5e721 (patch)
tree24fe60e9a53c5b56b67e0952033bd2ee6985424b /tests/qemu-iotests/059.out
parentd90ff19d0a664400232ae062163790937068a0f8 (diff)
downloadqemu-982c8c5e209d0331f06c0d6bd9a440aa67a5e721.tar.gz
qcow2: Zero-initialise first cluster for new images
Strictly speaking, this is only required for has_zero_init() == false, but it's easy enough to just do a cluster-aligned write that is padded with zeros after the header. This fixes that after 'qemu-img create' header extensions are attempted to be parsed that are really just random leftover data. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> (cherry picked from commit f8413b3c23b08a547ce18609acc6fae5fd04ed5c) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/qemu-iotests/059.out')
0 files changed, 0 insertions, 0 deletions