* [Qemu-devel] [PATCH] qcow2: fix some errors and typo in qcow2.txt
@ 2011-10-27 6:58 Zhi Yong Wu
2011-10-27 8:54 ` Kevin Wolf
0 siblings, 1 reply; 2+ messages in thread
From: Zhi Yong Wu @ 2011-10-27 6:58 UTC (permalink / raw)
To: kwolf; +Cc: qemu-trivial, wuzhy, qemu-devel, stefanha
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
docs/specs/qcow2.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
index 8fc3cb2..e792953 100644
--- a/docs/specs/qcow2.txt
+++ b/docs/specs/qcow2.txt
@@ -108,8 +108,8 @@ as follows:
refcount_block_entries = (cluster_size / sizeof(uint16_t))
- refcount_block_index = (offset / cluster_size) % refcount_table_entries
- refcount_table_index = (offset / cluster_size) / refcount_table_entries
+ refcount_block_index = (offset / cluster_size) % refcount_block_entries
+ refcount_table_index = (offset / cluster_size) / refcount_block_entries
refcount_block = load_cluster(refcount_table[refcount_table_index]);
return refcount_block[refcount_block_index];
@@ -211,7 +211,7 @@ switch the active L1 table, so that a different set of host clusters are
exposed to the guest.
When creating a snapshot, the L1 table should be copied and the refcount of all
-L2 tables and clusters reachable form this L1 table must be increased, so that
+L2 tables and clusters reachable from this L1 table must be increased, so that
a write causes a COW and isn't visible in other snapshots.
When loading a snapshot, bit 63 of all entries in the new active L1 table and
--
1.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] qcow2: fix some errors and typo in qcow2.txt
2011-10-27 6:58 [Qemu-devel] [PATCH] qcow2: fix some errors and typo in qcow2.txt Zhi Yong Wu
@ 2011-10-27 8:54 ` Kevin Wolf
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2011-10-27 8:54 UTC (permalink / raw)
To: Zhi Yong Wu; +Cc: qemu-trivial, qemu-devel, stefanha
Am 27.10.2011 08:58, schrieb Zhi Yong Wu:
> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> ---
> docs/specs/qcow2.txt | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-27 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 6:58 [Qemu-devel] [PATCH] qcow2: fix some errors and typo in qcow2.txt Zhi Yong Wu
2011-10-27 8:54 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).