aboutsummaryrefslogtreecommitdiff
path: root/migration/channel.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-17 17:07:04 +0200
committerJuan Quintela <quintela@redhat.com>2017-05-18 19:20:24 +0200
commitdd4339c540285b3a0904c631f8174a59d04be767 (patch)
tree77c0a910120f3d779250cce5b3811a12a8dfaaf1 /migration/channel.h
parent709e3fe82581f866350ff3be5198ea73cda09f0d (diff)
downloadqemu-dd4339c540285b3a0904c631f8174a59d04be767.zip
qemu-dd4339c540285b3a0904c631f8174a59d04be767.tar.gz
qemu-dd4339c540285b3a0904c631f8174a59d04be767.tar.bz2
migration: Split migration/channel.c for channel operations
Create an include for its exported functions. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --- Add proper header
Diffstat (limited to 'migration/channel.h')
-rw-r--r--migration/channel.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/migration/channel.h b/migration/channel.h
new file mode 100644
index 0000000..2e0a7e3
--- /dev/null
+++ b/migration/channel.h
@@ -0,0 +1,27 @@
+/*
+ * QEMU live migration channel operations
+ *
+ * Copyright Red Hat, Inc. 2016
+ *
+ * Authors:
+ * 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_CHANNEL_H
+#define QEMU_MIGRATION_CHANNEL_H
+
+#include "io/channel.h"
+
+void migration_channel_process_incoming(MigrationState *s,
+ QIOChannel *ioc);
+
+void migration_channel_connect(MigrationState *s,
+ QIOChannel *ioc,
+ const char *hostname);
+#endif