]> git.proxmox.com Git - qemu.git/commit - tests/qemu-iotests/039
qemu-img: find the image end offset during check
authorFederico Simoncelli <fsimonce@redhat.com>
Mon, 28 Jan 2013 11:59:46 +0000 (06:59 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Feb 2013 20:21:08 +0000 (21:21 +0100)
commitc6bb9ad198c2caa9c7c8ba360a07630b5c10e4a8
treefb7d050ec41a145e93d9a677c4136e880879fc59
parent5cbb08283789caf7dbfd0890dcff47124ad766c2
qemu-img: find the image end offset during check

This patch adds the support for reporting the image end offset (in
bytes). This is particularly useful after a conversion (or a rebase)
where the destination is a block device in order to find the first
unused byte at the end of the image.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c
include/block/block.h
qemu-img.c
tests/qemu-iotests/026
tests/qemu-iotests/036
tests/qemu-iotests/039
tests/qemu-iotests/044.out
tests/qemu-iotests/common.rc