xref: /qemu/migration/yank_functions.h (revision 39675fff)
11a92d6d5SLukas Straub /*
21a92d6d5SLukas Straub  * migration yank functions
31a92d6d5SLukas Straub  *
41a92d6d5SLukas Straub  * Copyright (c) Lukas Straub <lukasstraub2@web.de>
51a92d6d5SLukas Straub  *
61a92d6d5SLukas Straub  * This work is licensed under the terms of the GNU GPL, version 2 or later.
71a92d6d5SLukas Straub  * See the COPYING file in the top-level directory.
81a92d6d5SLukas Straub  */
91a92d6d5SLukas Straub 
101a92d6d5SLukas Straub /**
111a92d6d5SLukas Straub  * migration_yank_iochannel: yank function for iochannel
121a92d6d5SLukas Straub  *
131a92d6d5SLukas Straub  * This yank function will call qio_channel_shutdown on the provided QIOChannel.
141a92d6d5SLukas Straub  *
151a92d6d5SLukas Straub  * @opaque: QIOChannel to shutdown
161a92d6d5SLukas Straub  */
171a92d6d5SLukas Straub void migration_yank_iochannel(void *opaque);
1818711405SPeter Xu void migration_ioc_register_yank(QIOChannel *ioc);
1918711405SPeter Xu void migration_ioc_unregister_yank(QIOChannel *ioc);
20*39675fffSPeter Xu void migration_ioc_unregister_yank_from_file(QEMUFile *file);
21