aboutsummaryrefslogtreecommitdiff
path: root/migration/yank_functions.h
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2021-03-23 18:52:42 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-04-01 15:27:44 +0400
commit1a92d6d500e5de762bad78bee1362a7dafb909fd (patch)
treefff77d93a8642903931e15a899e38c4a5341866d /migration/yank_functions.h
parent816f93b20045f3363a4bc1c31e5e7aebbb6c1087 (diff)
downloadqemu-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 'migration/yank_functions.h')
-rw-r--r--migration/yank_functions.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/migration/yank_functions.h b/migration/yank_functions.h
new file mode 100644
index 0000000..055ea22
--- /dev/null
+++ b/migration/yank_functions.h
@@ -0,0 +1,17 @@
+/*
+ * migration yank functions
+ *
+ * Copyright (c) Lukas Straub <lukasstraub2@web.de>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+/**
+ * migration_yank_iochannel: yank function for iochannel
+ *
+ * This yank function will call qio_channel_shutdown on the provided QIOChannel.
+ *
+ * @opaque: QIOChannel to shutdown
+ */
+void migration_yank_iochannel(void *opaque);