Re: [Qemu-devel] [PATCH V2] block/replication.c: Fix crash issue after failover

2019-06-20 Thread Zhang, Chen
Please redirect to the V2 RESEND patch, this one not rebased on upstream code. Thanks Zhang Chen > -Original Message- > From: Zhang, Chen > Sent: Friday, June 21, 2019 1:52 PM > To: Xie Changlong ; Kevin Wolf > ; Max Reitz ; qemu-block bl...@nongnu.org>; qemu-dev > Cc: Zhang Chen ; Zha

[Qemu-devel] [PATCH V2] block/replication.c: Fix crash issue after failover

2019-06-20 Thread Zhang Chen
From: Zhang Chen If we try to close replication after failover, it will crash here. So we need check the block job on active disk before cancel the job. Signed-off-by: Zhang Chen --- block/replication.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block/replication.c