| 1 | /* |
| 2 | * QEMU live migration |
| 3 | * |
| 4 | * Copyright IBM, Corp. 2008 |
| 5 | * Copyright Dell MessageOne 2008 |
| 6 | * Copyright Red Hat, Inc. 2015-2016 |
| 7 | * |
| 8 | * Authors: |
| 9 | * Anthony Liguori <aliguori@us.ibm.com> |
| 10 | * Charles Duffy <charles_duffy@messageone.com> |
| 11 | * Daniel P. Berrange <berrange@redhat.com> |
| 12 | * |
| 13 | * This work is licensed under the terms of the GNU GPL, version 2. See |
| 14 | * the COPYING file in the top-level directory. |
| 15 | * |
| 16 | * Contributions after 2012-01-13 are licensed under the terms of the |
| 17 | * GNU GPL, version 2 or (at your option) any later version. |
| 18 | */ |
| 19 | |
| 20 | #ifndef QEMU_MIGRATION_EXEC_H |
| 21 | #define QEMU_MIGRATION_EXEC_H |
| 22 | |
| 23 | #include "io/channel.h" |
| 24 | |
| 25 | #ifdef WIN32 |
| 26 | const char *exec_get_cmd_path(void); |
| 27 | #endif |
| 28 | void exec_connect_incoming(strList *host_port, Error **errp); |
| 29 | |
| 30 | QIOChannel *exec_connect_outgoing(MigrationState *s, strList *host_port, |
| 31 | Error **errp); |
| 32 | #endif |