qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] migration: Fix fd protocol for incoming def


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH 1/2] migration: Fix fd protocol for incoming defer
Date: Tue, 28 May 2019 10:26:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Yury Kotov <address@hidden> wrote:
> Currently, incoming migration through fd supports only command-line case:
> E.g.
>     fork();
>     fd = open();
>     exec("qemu ... -incoming fd:%d", fd);
>
> It's possible to use add-fd commands to pass fd for migration, but it's
> invalid case. add-fd works with fdset but not with particular fds.
>
> To work with getfd in incoming defer it's enough to use monitor_fd_param
> instead of strtol. monitor_fd_param supports both cases:
> * fd:123
> * fd:fd_name (added by getfd).
>
> Signed-off-by: Yury Kotov <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>

Not only that, it also improves error messages.



reply via email to

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