]> git.proxmox.com Git - mirror_qemu.git/blame - migration/socket.h
linux-user/hppa: Increase guest stack size to 80MB for hppa target
[mirror_qemu.git] / migration / socket.h
CommitLineData
61e8b148
JQ
1/*
2 * QEMU live migration via socket
3 *
4 * Copyright Red Hat, Inc. 2009-2016
5 *
6 * Authors:
7 * Chris Lalancette <clalance@redhat.com>
8 * Daniel P. Berrange <berrange@redhat.com>
9 *
10 * This work is licensed under the terms of the GNU GPL, version 2. See
11 * the COPYING file in the top-level directory.
12 *
13 * Contributions after 2012-01-13 are licensed under the terms of the
14 * GNU GPL, version 2 or (at your option) any later version.
15 */
16
17#ifndef QEMU_MIGRATION_SOCKET_H
18#define QEMU_MIGRATION_SOCKET_H
3854956a
JQ
19
20#include "io/channel.h"
21#include "io/task.h"
22
23void socket_send_channel_create(QIOTaskFunc f, void *data);
36f62f11 24QIOChannel *socket_send_channel_create_sync(Error **errp);
3854956a
JQ
25int socket_send_channel_destroy(QIOChannel *send);
26
d658f65c 27void socket_start_incoming_migration(const char *str, Error **errp);
61e8b148 28
d658f65c
LM
29void socket_start_outgoing_migration(MigrationState *s, const char *str,
30 Error **errp);
61e8b148 31#endif