migration: Introduce migration_ioc_[un]register_yank()
commit18711405b506e7ca3822ed19830f1c562e0247f9
authorPeter Xu <peterx@redhat.com>
Thu, 22 Jul 2021 17:58:39 +0000 (22 13:58 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 26 Jul 2021 11:44:54 +0000 (26 12:44 +0100)
treefabb0f87cb34e59fa61855f1cd14f9dae5f1550c
parent43044ac0ee5758d92b639843c045123c2de578d1
migration: Introduce migration_ioc_[un]register_yank()

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.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210722175841.938739-4-peterx@redhat.com>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/channel.c
migration/multifd.c
migration/qemu-file-channel.c
migration/yank_functions.c
migration/yank_functions.h