aboutsummaryrefslogtreecommitdiff
path: root/docs/specs/qed_spec.txt
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-12-17 15:58:20 +0000
committerKevin Wolf <kwolf@redhat.com>2010-12-17 17:05:06 +0100
commite59d688ad112719cb264f395b1f5895866ebf309 (patch)
tree116b393b183d5a1a7eb31ad9e66704dad112e518 /docs/specs/qed_spec.txt
parent6d85a57e20825e72895c31eb69080df8d476edb2 (diff)
downloadqemu-e59d688ad112719cb264f395b1f5895866ebf309.zip
qemu-e59d688ad112719cb264f395b1f5895866ebf309.tar.gz
qemu-e59d688ad112719cb264f395b1f5895866ebf309.tar.bz2
docs: Fix missing carets in QED specification
For some reason the carets ('^') in the QED specification disappeared. This patch puts them back. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/specs/qed_spec.txt')
-rw-r--r--docs/specs/qed_spec.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/specs/qed_spec.txt b/docs/specs/qed_spec.txt
index 446b5a2..1d5fa87 100644
--- a/docs/specs/qed_spec.txt
+++ b/docs/specs/qed_spec.txt
@@ -33,7 +33,7 @@ All fields are little-endian.
}
Field descriptions:
-* ''cluster_size'' must be a power of 2 in range [212, 226].
+* ''cluster_size'' must be a power of 2 in range [2^12, 2^26].
* ''table_size'' must be a power of 2 in range [1, 16].
* ''header_size'' is the number of clusters used by the header and any additional information stored before regular clusters.
* ''features'', ''compat_features'', and ''autoclear_features'' are file format extension bitmaps. They work as follows:
@@ -90,7 +90,7 @@ L1, L2, and data cluster offsets must be aligned to header.cluster_size. The fo
===Data cluster offsets===
* 0 - unallocated. The data cluster is not yet allocated.
-Future format extensions may wish to store per-offset information. The least significant 12 bits of an offset are reserved for this purpose and must be set to zero. Image files with cluster_size > 212 will have more unused bits which should also be zeroed.
+Future format extensions may wish to store per-offset information. The least significant 12 bits of an offset are reserved for this purpose and must be set to zero. Image files with cluster_size > 2^12 will have more unused bits which should also be zeroed.
===Unallocated L2 tables and data clusters===
Reads to an unallocated area of the image file access the backing file. If there is no backing file, then zeroes are produced. The backing file may be smaller than the image file and reads of unallocated areas beyond the end of the backing file produce zeroes.