On Tue, May 28, 2019 at 12:16:31PM +0300, Yury Kotov wrote:
> Hi,
>
> V2:
> * Revert odd changes in migrate()
> * Add short description for socket_send_fds()
> and remove ifdef WIN32 as it's not needed
>
> This series is a continuation of the previous two:
> * migration: Fix handling fd protocol
> * Add 'inline-fd:' protocol for migration
>
> It's about such use case:
> 1. Target VM: exec ...,-incoming defer
> 2. Target VM: getfd("fd-mig")
> 3. Target VM: migrate-incoming("fd:"fd-mig")
> 4. Source VM: getfd("fd-mig")
> 5. Source VM: migrate("fd-mig")
>
> Currently, it's not possible to do the step 3, because for incoming migration
> "fd:" protocol expects an integer, not the name of fd.
Reviewed-by: Peter Xu <peterx@redhat.com>
I gave a quick shot on the new test - it runs well.
--
Peter Xu