]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-img.texi
qemu-img check -r for repairing images
authorKevin Wolf <kwolf@redhat.com>
Fri, 11 May 2012 14:07:02 +0000 (16:07 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:42 +0000 (14:03 +0200)
commit4534ff5426afeeae5238ba10a696cafa9a0168ee
tree41cfe59d3c5b41f0e5d6c396a1c9563a2c21deab
parentdfc65f1f780622d852ca8b9fb1421735ee56c48b
qemu-img check -r for repairing images

The QED block driver already provides the functionality to not only
detect inconsistencies in images, but also fix them. However, this
functionality cannot be manually invoked with qemu-img, but the
check happens only automatically during bdrv_open().

This adds a -r switch to qemu-img check that allows manual invocation
of an image repair.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
block/qcow2.c
block/qed.c
block/vdi.c
block_int.h
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi