blob: 96c90e17dc16e4ec56bc57d78d7fe2f11b7c923d [file] [log] [blame]
Lukas Straub1a92d6d2021-03-23 18:52:42 +01001/*
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
15void migration_yank_iochannel(void *opaque)
16{
17 QIOChannel *ioc = QIO_CHANNEL(opaque);
18
19 qio_channel_shutdown(ioc, QIO_CHANNEL_SHUTDOWN_BOTH, NULL);
20}