]> git.proxmox.com Git - mirror_qemu.git/commitdiff
specs/qcow2: Clarify that compressed clusters have the COPIED bit reset
authorAlberto Garcia <berto@igalia.com>
Tue, 10 Apr 2018 16:05:04 +0000 (18:05 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 15 May 2018 14:15:21 +0000 (16:15 +0200)
Compressed clusters are not supposed to have the COPIED bit set, but
this is not made explicit in the specs, so let's document it.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 74552e1d6e858d3159cb0c0e188e80bc9248e337.1523376013.git.berto@igalia.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
docs/interop/qcow2.txt

index feb711fb6a88187c36716518e0ed1954a6fc6eda..8e1547ded27b1bb6da4007018fde09b24c5d8765 100644 (file)
@@ -400,10 +400,10 @@ L2 table entry:
               62:   0 for standard clusters
                     1 for compressed clusters
 
-              63:   0 for a cluster that is unused or requires COW, 1 if its
-                    refcount is exactly one. This information is only accurate
-                    in L2 tables that are reachable from the active L1
-                    table.
+              63:   0 for clusters that are unused, compressed or require COW.
+                    1 for standard clusters whose refcount is exactly one.
+                    This information is only accurate in L2 tables
+                    that are reachable from the active L1 table.
 
 Standard Cluster Descriptor: