aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-08-30 14:34:24 +0200
committerKevin Wolf <kwolf@redhat.com>2013-08-30 15:48:43 +0200
commit69c98726537627e708abb8fcb33e3a2b10e40bf1 (patch)
tree1fc42d5d5c0abf85fb00b8c36c46b7f794ba8f44 /docs
parent449df7063815489a0b091bcb3afa9ae80ae3acbf (diff)
downloadqemu-69c98726537627e708abb8fcb33e3a2b10e40bf1.zip
qemu-69c98726537627e708abb8fcb33e3a2b10e40bf1.tar.gz
qemu-69c98726537627e708abb8fcb33e3a2b10e40bf1.tar.bz2
qcow2: Add corrupt bit
This adds an incompatible bit indicating corruption to qcow2. Any image with this bit set may not be written to unless for repairing (and subsequently clearing the bit if the repair has been successful). Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/specs/qcow2.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
index 36a559d..33eca36 100644
--- a/docs/specs/qcow2.txt
+++ b/docs/specs/qcow2.txt
@@ -80,7 +80,12 @@ in the description of a field.
tables to repair refcounts before accessing the
image.
- Bits 1-63: Reserved (set to 0)
+ Bit 1: Corrupt bit. If this bit is set then any data
+ structure may be corrupt and the image must not
+ be written to (unless for regaining
+ consistency).
+
+ Bits 2-63: Reserved (set to 0)
80 - 87: compatible_features
Bitmask of compatible features. An implementation can