2017-04-17 17:07:04 +02:00
|
|
|
/*
|
|
|
|
* QEMU live migration channel operations
|
|
|
|
*
|
|
|
|
* Copyright Red Hat, Inc. 2016
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Daniel P. Berrange <berrange@redhat.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
|
|
* the COPYING file in the top-level directory.
|
|
|
|
*
|
|
|
|
* Contributions after 2012-01-13 are licensed under the terms of the
|
|
|
|
* GNU GPL, version 2 or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QEMU_MIGRATION_CHANNEL_H
|
|
|
|
#define QEMU_MIGRATION_CHANNEL_H
|
|
|
|
|
|
|
|
#include "io/channel.h"
|
|
|
|
|
2017-04-17 17:15:02 +02:00
|
|
|
void migration_channel_process_incoming(QIOChannel *ioc);
|
2017-04-17 17:07:04 +02:00
|
|
|
|
|
|
|
void migration_channel_connect(MigrationState *s,
|
|
|
|
QIOChannel *ioc,
|
2017-12-15 18:16:55 +01:00
|
|
|
const char *hostname,
|
|
|
|
Error *error_in);
|
2022-12-20 19:44:18 +01:00
|
|
|
|
|
|
|
int migration_channel_read_peek(QIOChannel *ioc,
|
|
|
|
const char *buf,
|
|
|
|
const size_t buflen,
|
|
|
|
Error **errp);
|
2017-04-17 17:07:04 +02:00
|
|
|
#endif
|