diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-03-17 18:43:41 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2010-03-23 14:09:30 +0200 |
commit | 3f757b846c829d1f5d75eeedb2c34d3ab34d5a50 (patch) | |
tree | 0562d1c7a7df5ccc60ed80d48beacdd459867a22 /server/spice.h | |
parent | 6108a6ce5f74c1d466b6ab3e453f2ecbd2dd5a9d (diff) | |
download | spice-client-0.4.2-4.el6.tar.gz spice-client-0.4.2-4.el6.tar.xz spice-client-0.4.2-4.el6.zip |
new migration process #576029 #576031 #576033spice-server-0.4.2-5.el6spice-common-0.4.2-4.el6spice-client-0.4.2-4.el6
- the server acquires the target info from a dedicated Qemu command
- when migration ends, the client receieves a new message RED_MIGRATE_SWITCH_HOST
- client then disconnects from the source and connects to the target. The connection
to the target is entirely new.
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h index 88cea70b..05c63611 100644 --- a/server/spice.h +++ b/server/spice.h @@ -91,4 +91,15 @@ int spice_server_add_renderer(SpiceServer *s, const char *name); 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); +/* + * setting information about the migration destination. + * For null port use -1. + * cert_subject format: pairs of <field>=<value> separated with commas. + * Commas and backslashes within <value> must be preceded by a backslash. + */ +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_end(SpiceServer *s, int completed); + #endif |