diff options
author | Lukas Straub | 2021-03-23 18:52:42 +0100 |
---|---|---|
committer | Marc-André Lureau | 2021-04-01 13:27:44 +0200 |
commit | 1a92d6d500e5de762bad78bee1362a7dafb909fd (patch) | |
tree | fff77d93a8642903931e15a899e38c4a5341866d /migration/multifd.c | |
parent | docs: simplify each section title (diff) | |
download | qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.tar.gz qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.tar.xz qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.zip |
yank: Remove dependency on qiochannel
Remove dependency on qiochannel by removing yank_generic_iochannel and
letting migration and chardev use their own yank function for
iochannel.
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20ff143fc2db23e27cd41d38043e481376c9cec1.1616521341.git.lukasstraub2@web.de>
Diffstat (limited to 'migration/multifd.c')
-rw-r--r-- | migration/multifd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migration/multifd.c b/migration/multifd.c index 03527c564c..a6677c45c8 100644 --- a/migration/multifd.c +++ b/migration/multifd.c @@ -27,6 +27,7 @@ #include "qemu/yank.h" #include "io/channel-socket.h" +#include "yank_functions.h" /* Multiple fd's */ @@ -989,7 +990,7 @@ int multifd_load_cleanup(Error **errp) if (object_dynamic_cast(OBJECT(p->c), TYPE_QIO_CHANNEL_SOCKET) && OBJECT(p->c)->ref == 1) { yank_unregister_function(MIGRATION_YANK_INSTANCE, - yank_generic_iochannel, + migration_yank_iochannel, QIO_CHANNEL(p->c)); } |