[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: Fix cancel state
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH] migration: Fix cancel state |
Date: |
Wed, 20 Feb 2019 13:09:35 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, Feb 19, 2019 at 07:59:28PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> During a cancelled migration there's a race where the fd can
> go into an error state before we get back around the migration loop
> and migration_detect_error transitions from cancelling->failed.
>
> Check for cancelled/cancelling and don't change the state.
>
> Red Hat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1608649
>
> Fixes: b23c2ade250
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Thanks,
--
Peter Xu