]> git.proxmox.com Git - mirror_qemu.git/blobdiff - migration/socket.h
hw/i2c/aspeed: rework raise interrupt trace event
[mirror_qemu.git] / migration / socket.h
index 6b91e9db386894a8db83ba0d3216a27343a2d550..891dbcccebbb421ca9bd9d9af01834e1fef8c220 100644 (file)
 
 #ifndef QEMU_MIGRATION_SOCKET_H
 #define QEMU_MIGRATION_SOCKET_H
-void tcp_start_incoming_migration(const char *host_port, Error **errp);
 
-void tcp_start_outgoing_migration(MigrationState *s, const char *host_port,
-                                  Error **errp);
+#include "io/channel.h"
+#include "io/task.h"
 
-void unix_start_incoming_migration(const char *path, Error **errp);
+void socket_send_channel_create(QIOTaskFunc f, void *data);
+int socket_send_channel_destroy(QIOChannel *send);
 
-void unix_start_outgoing_migration(MigrationState *s, const char *path,
-                                   Error **errp);
+void socket_start_incoming_migration(const char *str, Error **errp);
+
+void socket_start_outgoing_migration(MigrationState *s, const char *str,
+                                     Error **errp);
 #endif