aboutsummaryrefslogtreecommitdiff
path: root/docs/block-replication.txt
diff options
context:
space:
mode:
authorZhang Chen <chen.zhang@intel.com>2021-10-18 16:50:44 +0800
committerLaurent Vivier <laurent@vivier.eu>2021-12-17 11:35:00 +0100
commit036ef344b6c51f651a3b5c6ca56868fa3e6554fe (patch)
treec0192eb44df44454b9f39c73afd01069e1d78c78 /docs/block-replication.txt
parentf71d31fa811f15d40ab076b350c2067d30ac22b1 (diff)
docs/block-replication.txt: Fix replication top-id command demo
This demo not correct, the original childs1 can't pass the the bdrv_is_root_node check in replcation_start(). Keep consistent with docs/COLO-FT.txt Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20211018085044.2788276-1-chen.zhang@intel.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'docs/block-replication.txt')
-rw-r--r--docs/block-replication.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/block-replication.txt b/docs/block-replication.txt
index b0f23761c6..e1b28a6cc1 100644
--- a/docs/block-replication.txt
+++ b/docs/block-replication.txt
@@ -179,7 +179,7 @@ Primary:
Secondary:
-drive if=none,driver=raw,file.filename=1.raw,id=colo1 \
- -drive if=none,id=childs1,driver=replication,mode=secondary,top-id=childs1
+ -drive if=none,id=childs1,driver=replication,mode=secondary,top-id=top-disk1
file.file.filename=active_disk.qcow2,\
file.driver=qcow2,\
file.backing.file.filename=hidden_disk.qcow2,\