]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
docs/block-replication.txt: Fix replication top-id command demo
authorZhang Chen <chen.zhang@intel.com>
Mon, 18 Oct 2021 08:50:44 +0000 (16:50 +0800)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 17 Dec 2021 10:35:00 +0000 (11:35 +0100)
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>
docs/block-replication.txt

index b0f23761c6e77340c0ba30a3920a0e257b7d5ef1..e1b28a6cc1178a9ad6f9b39b3d75237941b3a725 100644 (file)
@@ -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,\