qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] block/replication.c: Avoid cancelling the job twice


From: Kevin Wolf
Subject: Re: [PATCH] block/replication.c: Avoid cancelling the job twice
Date: Wed, 13 May 2020 12:11:26 +0200

Am 11.05.2020 um 09:08 hat Lukas Straub geschrieben:
> If qemu in colo secondary mode is stopped, it crashes because
> s->backup_job is canceled twice: First with job_cancel_sync_all()
> in qemu_cleanup() and then in replication_stop().
> 
> Fix this by assigning NULL to s->backup_job when the job completes
> so replication_stop() and replication_do_checkpoint() won't touch
> the job.
> 
> Signed-off-by: Lukas Straub <address@hidden>

Thanks, applied to the block branch.

Kevin

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]