xref: /openbmc/qemu/migration/yank_functions.c (revision 40f23e4e)
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 #include "qemu/osdep.h"
11 #include "qapi/error.h"
12 #include "io/channel.h"
13 #include "yank_functions.h"
14 
15 void migration_yank_iochannel(void *opaque)
16 {
17     QIOChannel *ioc = QIO_CHANNEL(opaque);
18 
19     qio_channel_shutdown(ioc, QIO_CHANNEL_SHUTDOWN_BOTH, NULL);
20 }
21