qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 00/28] Migration: postcopy failure recovery


From: Peter Xu
Subject: Re: [Qemu-devel] [PATCH v6 00/28] Migration: postcopy failure recovery
Date: Thu, 8 Feb 2018 18:38:30 +0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Thu, Feb 08, 2018 at 06:31:04PM +0800, Peter Xu wrote:

[...]

> 6. On source, manually trigger a "fake network down" using
>    "migrate-cancel" command:
> 
>   {"execute": "migrate_cancel"}
>   {"return": {}}
> 
>   During postcopy, it'll not really cancel the migration, but pause
>   it.  On both sides, we should see this on stderr:
> 
>   qemu-system-x86_64: Detected IO failure for postcopy. Migration paused.
> 
>   It means now both sides are in postcopy-pause state.

Sorry I forgot to update this part.  We need to use migrate-pause in
this version to explicitly pause the migration.  If on source:

  { "execute": "migrate-pause" }

If on destination, don't forget to run with OOB:

  { "execute": "migrate-pause", "id": "pause-cmd",
    "control": { "run-oob": true } }

-- 
Peter Xu



reply via email to

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