diff options
author | Lukas Straub <lukasstraub2@web.de> | 2021-03-23 18:52:42 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-04-01 15:27:44 +0400 |
commit | 1a92d6d500e5de762bad78bee1362a7dafb909fd (patch) | |
tree | fff77d93a8642903931e15a899e38c4a5341866d /util/yank.c | |
parent | 816f93b20045f3363a4bc1c31e5e7aebbb6c1087 (diff) | |
download | qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.zip qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.tar.gz qemu-1a92d6d500e5de762bad78bee1362a7dafb909fd.tar.bz2 |
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 'util/yank.c')
-rw-r--r-- | util/yank.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/util/yank.c b/util/yank.c index fc08f65..abf47c3 100644 --- a/util/yank.c +++ b/util/yank.c @@ -15,7 +15,6 @@ #include "qapi/qapi-commands-yank.h" #include "qapi/qapi-visit-yank.h" #include "qapi/clone-visitor.h" -#include "io/channel.h" #include "qemu/yank.h" struct YankFuncAndParam { @@ -151,13 +150,6 @@ void yank_unregister_function(const YankInstance *instance, abort(); } -void yank_generic_iochannel(void *opaque) -{ - QIOChannel *ioc = QIO_CHANNEL(opaque); - - qio_channel_shutdown(ioc, QIO_CHANNEL_SHUTDOWN_BOTH, NULL); -} - void qmp_yank(YankInstanceList *instances, Error **errp) { |