mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
43044ac0ee
commit
18711405b5
5 changed files with 36 additions and 25 deletions
|
@ -15,3 +15,5 @@
|
|||
* @opaque: QIOChannel to shutdown
|
||||
*/
|
||||
void migration_yank_iochannel(void *opaque);
|
||||
void migration_ioc_register_yank(QIOChannel *ioc);
|
||||
void migration_ioc_unregister_yank(QIOChannel *ioc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue