* RE: [PATCH] docs/block-replication.txt: Fix replication top-id command demo
2021-10-18 8:50 [PATCH] docs/block-replication.txt: Fix replication top-id command demo Zhang Chen
@ 2021-11-18 6:01 ` Zhang, Chen
2021-12-17 10:25 ` Laurent Vivier
2021-12-17 10:35 ` Laurent Vivier
2 siblings, 0 replies; 4+ messages in thread
From: Zhang, Chen @ 2021-11-18 6:01 UTC (permalink / raw)
To: Xie Changlong, Wen Congyang, qemu-trivial@nongnu.org,
Vladimir Sementsov-Ogievskiy, jsnow@redhat.com
Cc: Lukas Straub, qemu-dev, Laurent Vivier
Ping... and add more people.
The original demo can't boot block-replication with COLO.
Thanks
Chen
> -----Original Message-----
> From: Zhang, Chen <chen.zhang@intel.com>
> Sent: Monday, October 18, 2021 4:51 PM
> To: Xie Changlong <xiechanglong.d@gmail.com>; Wen Congyang
> <wencongyang2@huawei.com>; qemu-trivial@nongnu.org
> Cc: Zhang, Chen <chen.zhang@intel.com>; qemu-dev <qemu-
> devel@nongnu.org>; Laurent Vivier <laurent@vivier.eu>; Lukas Straub
> <lukasstraub2@web.de>
> Subject: [PATCH] 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>
> ---
> docs/block-replication.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/block-replication.txt b/docs/block-replication.txt index
> 108e9166a8..66ad540676 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,\
> --
> 2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs/block-replication.txt: Fix replication top-id command demo
2021-10-18 8:50 [PATCH] docs/block-replication.txt: Fix replication top-id command demo Zhang Chen
2021-11-18 6:01 ` Zhang, Chen
@ 2021-12-17 10:25 ` Laurent Vivier
2021-12-17 10:35 ` Laurent Vivier
2 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2021-12-17 10:25 UTC (permalink / raw)
To: Zhang Chen, Xie Changlong, Wen Congyang, qemu-trivial
Cc: Lukas Straub, qemu-dev
Le 18/10/2021 à 10:50, Zhang Chen a écrit :
> 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>
> ---
> docs/block-replication.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/block-replication.txt b/docs/block-replication.txt
> index 108e9166a8..66ad540676 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,\
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs/block-replication.txt: Fix replication top-id command demo
2021-10-18 8:50 [PATCH] docs/block-replication.txt: Fix replication top-id command demo Zhang Chen
2021-11-18 6:01 ` Zhang, Chen
2021-12-17 10:25 ` Laurent Vivier
@ 2021-12-17 10:35 ` Laurent Vivier
2 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2021-12-17 10:35 UTC (permalink / raw)
To: Zhang Chen, Xie Changlong, Wen Congyang, qemu-trivial
Cc: Lukas Straub, qemu-dev
Le 18/10/2021 à 10:50, Zhang Chen a écrit :
> 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>
> ---
> docs/block-replication.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/block-replication.txt b/docs/block-replication.txt
> index 108e9166a8..66ad540676 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,\
>
Applied to my trivial-patches branch.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 4+ messages in thread