[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [question] The source cannot recover, if the destination fails in th
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [question] The source cannot recover, if the destination fails in the last round of live migration |
Date: |
Thu, 6 May 2021 14:05:51 +0100 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Kunkun Jiang (jiangkunkun@huawei.com) wrote:
> Hi all,
Hi,
> Recently I am learning about the part of live migration.
> I have a question about the last round.
>
> When the pending_size is less than the threshold, it will enter
> the last round and call migration_completion(). It will stop the
> source and sent the remaining dirty pages and devices' status
> information to the destination. The destination will load these
> information and start the VM.
>
> If there is an error at the destination at this time, it will exit
> directly, and the source will not be able to detect the error
> and recover. Because the source will not call
> migration_detect_error().
>
> Is my understanding correct?
> Should the source wait the result of the last round of destination ?
Try setting the 'return-path' migration capability on both the source
and destination; I think it's that option will cause the destination to
send an OK/error at the end and the source to wait for it.
Dave
> Thanks,
> Kunkun Jiang
>
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK