[Spice-devel] [PATCH 2/3] move switch-host migration out of experimental

Gerd Hoffmann kraxel at redhat.com
Tue Dec 14 04:10:52 PST 2010


seamless stays in the experimental area.
comments updates too.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 server/spice-experimental.h |    6 +-----
 server/spice.h              |    7 +++++++
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/server/spice-experimental.h b/server/spice-experimental.h
index 70d2246..f1b7385 100644
--- a/server/spice-experimental.h
+++ b/server/spice-experimental.h
@@ -53,7 +53,7 @@ struct SpiceNetWireInstance {
 void spice_server_net_wire_recv_packet(SpiceNetWireInstance *sin,
                                        const uint8_t *pkt, int len);
 
-/* spice client migration */
+/* spice seamless client migration (broken) */
 
 enum {
     SPICE_MIGRATE_CLIENT_NONE = 1,
@@ -61,13 +61,9 @@ enum {
     SPICE_MIGRATE_CLIENT_READY,
 };
 
-int spice_server_migrate_info(SpiceServer *s, const char* dest,
-                              int port, int secure_port,
-                              const char* cert_subject);
 int spice_server_migrate_start(SpiceServer *s);
 int spice_server_migrate_client_state(SpiceServer *s);
 int spice_server_migrate_end(SpiceServer *s, int completed);
-int spice_server_migrate_switch(SpiceServer *s);
 
 #endif // __SPICE_EXPERIMENTAL_H__
 
diff --git a/server/spice.h b/server/spice.h
index 898a32d..87303ab 100644
--- a/server/spice.h
+++ b/server/spice.h
@@ -404,4 +404,11 @@ int spice_server_set_agent_mouse(SpiceServer *s, int enable);
 int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen);
 int spice_server_get_peer_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen);
 
+/* spice switch-host client migration */
+
+int spice_server_migrate_info(SpiceServer *s, const char* dest,
+                              int port, int secure_port,
+                              const char* cert_subject);
+int spice_server_migrate_switch(SpiceServer *s);
+
 #endif
-- 
1.7.1



More information about the Spice-devel mailing list