Juan Quintela | dd4339c | 2017-04-17 17:07:04 +0200 | [diff] [blame] | 1 | /* |
| 2 | * QEMU live migration channel operations |
| 3 | * |
| 4 | * Copyright Red Hat, Inc. 2016 |
| 5 | * |
| 6 | * Authors: |
| 7 | * Daniel P. Berrange <berrange@redhat.com> |
| 8 | * |
| 9 | * This work is licensed under the terms of the GNU GPL, version 2. See |
| 10 | * the COPYING file in the top-level directory. |
| 11 | * |
| 12 | * Contributions after 2012-01-13 are licensed under the terms of the |
| 13 | * GNU GPL, version 2 or (at your option) any later version. |
| 14 | */ |
| 15 | |
| 16 | #ifndef QEMU_MIGRATION_CHANNEL_H |
| 17 | #define QEMU_MIGRATION_CHANNEL_H |
| 18 | |
| 19 | #include "io/channel.h" |
| 20 | |
Juan Quintela | 5431471 | 2017-04-17 17:15:02 +0200 | [diff] [blame] | 21 | void migration_channel_process_incoming(QIOChannel *ioc); |
Juan Quintela | dd4339c | 2017-04-17 17:07:04 +0200 | [diff] [blame] | 22 | |
| 23 | void migration_channel_connect(MigrationState *s, |
| 24 | QIOChannel *ioc, |
Dr. David Alan Gilbert | 688a3dc | 2017-12-15 17:16:55 +0000 | [diff] [blame] | 25 | const char *hostname, |
| 26 | Error *error_in); |
manish.mishra | 6720c2b | 2022-12-20 18:44:18 +0000 | [diff] [blame] | 27 | |
| 28 | int migration_channel_read_peek(QIOChannel *ioc, |
| 29 | const char *buf, |
| 30 | const size_t buflen, |
| 31 | Error **errp); |
Juan Quintela | dd4339c | 2017-04-17 17:07:04 +0200 | [diff] [blame] | 32 | #endif |