aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2022-04-07 11:39:32 +0300
committerKevin Wolf <kwolf@redhat.com>2022-05-04 15:55:23 +0200
commit8e28b65f52637917d3d02ade4e0ae85442de9f86 (patch)
tree6fee408a8bd2dea2d4f9d30367642a4151cd5497 /docs
parent2e3408b3cc7de4e87a9adafc8c19bfce3abec947 (diff)
downloadqemu-8e28b65f52637917d3d02ade4e0ae85442de9f86.zip
qemu-8e28b65f52637917d3d02ade4e0ae85442de9f86.tar.gz
qemu-8e28b65f52637917d3d02ade4e0ae85442de9f86.tar.bz2
qemu-img: properly list formats which have consistency check implemented
Simple grep for the .bdrv_co_check callback presence gives the following list of block drivers * QED * VDI * VHDX * VMDK * Parallels which have this callback. The presense of the callback means that consistency check is supported. The patch updates documentation accordingly. Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Kevin Wolf <kwolf@redhat.com> CC: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220407083932.531965-1-den@openvz.org> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/tools/qemu-img.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/qemu-img.rst b/docs/tools/qemu-img.rst
index 8885ea1..85a6e05 100644
--- a/docs/tools/qemu-img.rst
+++ b/docs/tools/qemu-img.rst
@@ -332,8 +332,8 @@ Command description:
``-r all`` fixes all kinds of errors, with a higher risk of choosing the
wrong fix or hiding corruption that has already occurred.
- Only the formats ``qcow2``, ``qed`` and ``vdi`` support
- consistency checks.
+ Only the formats ``qcow2``, ``qed``, ``parallels``, ``vhdx``, ``vmdk`` and
+ ``vdi`` support consistency checks.
In case the image does not have any inconsistencies, check exits with ``0``.
Other exit codes indicate the kind of inconsistency found or if another error