Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20171025' into staging
[qemu/ar7.git] / migration / socket.h
blob6b91e9db386894a8db83ba0d3216a27343a2d550
1 /*
2 * QEMU live migration via socket
4 * Copyright Red Hat, Inc. 2009-2016
6 * Authors:
7 * Chris Lalancette <clalance@redhat.com>
8 * Daniel P. Berrange <berrange@redhat.com>
10 * This work is licensed under the terms of the GNU GPL, version 2. See
11 * the COPYING file in the top-level directory.
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.
17 #ifndef QEMU_MIGRATION_SOCKET_H
18 #define QEMU_MIGRATION_SOCKET_H
19 void tcp_start_incoming_migration(const char *host_port, Error **errp);
21 void tcp_start_outgoing_migration(MigrationState *s, const char *host_port,
22 Error **errp);
24 void unix_start_incoming_migration(const char *path, Error **errp);
26 void unix_start_outgoing_migration(MigrationState *s, const char *path,
27 Error **errp);
28 #endif