xref: /openbmc/qemu/migration/yank_functions.h (revision 6d559996)
1 /*
2  * migration yank functions
3  *
4  * Copyright (c) Lukas Straub <lukasstraub2@web.de>
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  */
9 
10 /**
11  * migration_yank_iochannel: yank function for iochannel
12  *
13  * This yank function will call qio_channel_shutdown on the provided QIOChannel.
14  *
15  * @opaque: QIOChannel to shutdown
16  */
17 void migration_yank_iochannel(void *opaque);
18 void migration_ioc_register_yank(QIOChannel *ioc);
19 void migration_ioc_unregister_yank(QIOChannel *ioc);
20 void migration_ioc_unregister_yank_from_file(QEMUFile *file);
21