mirror of
https://github.com/qemu/qemu.git
synced 2024-12-15 15:33:29 +08:00
3854956ad7
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/*
|
|
* QEMU live migration via socket
|
|
*
|
|
* Copyright Red Hat, Inc. 2009-2016
|
|
*
|
|
* Authors:
|
|
* Chris Lalancette <clalance@redhat.com>
|
|
* 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_SOCKET_H
|
|
#define QEMU_MIGRATION_SOCKET_H
|
|
|
|
#include "io/channel.h"
|
|
#include "io/task.h"
|
|
|
|
void socket_send_channel_create(QIOTaskFunc f, void *data);
|
|
int socket_send_channel_destroy(QIOChannel *send);
|
|
|
|
void tcp_start_incoming_migration(const char *host_port, Error **errp);
|
|
|
|
void tcp_start_outgoing_migration(MigrationState *s, const char *host_port,
|
|
Error **errp);
|
|
|
|
void unix_start_incoming_migration(const char *path, Error **errp);
|
|
|
|
void unix_start_outgoing_migration(MigrationState *s, const char *path,
|
|
Error **errp);
|
|
#endif
|