mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00: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:
committed by
Dr. David Alan Gilbert
parent
43044ac0ee
commit
18711405b5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user