Re: [PATCH 3/5] migration: Introduce migration_ioc_[un]register_yank()

2021-07-21 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > There're plenty of places in migration/* that checks against either socket or > tls typed ioc for yank operations. Provide two helpers to hide all these > information. > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert > --- > migration/ch

[PATCH 3/5] migration: Introduce migration_ioc_[un]register_yank()

2021-07-20 Thread Peter Xu
There're plenty of places in migration/* that checks against either socket or tls typed ioc for yank operations. Provide two helpers to hide all these information. Signed-off-by: Peter Xu --- migration/channel.c | 15 ++- migration/multifd.c | 8 ++-- migrat