Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-06-15-v2' into staging
[qemu/ar7.git] / migration / yank_functions.c
blob96c90e17dc16e4ec56bc57d78d7fe2f11b7c923d
1 /*
2 * migration yank functions
4 * Copyright (c) Lukas Straub <lukasstraub2@web.de>
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 */
10 #include "qemu/osdep.h"
11 #include "qapi/error.h"
12 #include "io/channel.h"
13 #include "yank_functions.h"
15 void migration_yank_iochannel(void *opaque)
17 QIOChannel *ioc = QIO_CHANNEL(opaque);
19 qio_channel_shutdown(ioc, QIO_CHANNEL_SHUTDOWN_BOTH, NULL);