summaryrefslogtreecommitdiffstats
path: root/server/spice-experimental.h
Commit message (Collapse)AuthorAgeFilesLines
* server/spice.h: semi-seamless migration interface, RHBZ #738266Yonit Halperin2011-11-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | semi-seamless migration details: migration source side --------------------- (1) spice_server_migrate_connect (*): tell client to link to the target side - send SPICE_MSG_MAIN_MIGRATE_BEGIN. This should be called upon client_migrate_info cmd. client_migrate_info is asynchronous. (2) Complete spice_server_migrate_connect only when the client has been connected to the target - wait for SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR) or a timeout. (3) spice_server_migrate_end: tell client migration it can switch to the target - send SPICE_MSG_MAIN_MIGRATE_END. (4) client cleans up all data related to the connection to the source and switches to the target. It sends SPICE_MSGC_MAIN_MIGRATE_END. migration target side --------------------- (1) the server identifies itself as a migraiton target since the client is linked with (connection_id != 0) (2) server doesn't start the channels' logic (channel->link) till it receives SPICE_MSGC_MAIN_MIGRATE_END from the client. * After migration starts, the target qemu is blocked and cannot accept new spice client connections. Thus, we trigger the connection to the target upon client_migrate_info command. (cherry picked from commit 6e56bea67c5648b0c81990171d4bc0cf1a402043 branch 0.8) Conflicts: server/spice.h
* move chardevs out of experimentalGerd Hoffmann2010-12-161-25/+0
| | | | | | | | While we are at it: There is no reason for chardev support to stay in the experimental area, so move it out. qemu should not need the "spice-experimental.h" file. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* move switch-host migration out of experimentalGerd Hoffmann2010-12-161-5/+1
| | | | | | | seamless stays in the experimental area. comments updates too. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* client migration: switch hostGerd Hoffmann2010-12-161-1/+3
| | | | | | | | | | | | | | | | Implement server-side support for switch-host client migration. Client side support is present already in the tree. Setting the migration information is done using the existing spice_server_migrate_info() function. A new spice_server_migrate_switch() function has been added which triggers sending out the switch-host message. Seamless migration functions are left there for now. spice_server_migrate_start() has been chamnged to just fail unconditionally though as seamless migration is broken anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice-experimental.h: add multiple include protectionAlon Levy2010-12-061-1/+7
|
* server: add subtype to SpiceCharDeviceInterface, use for vdagentAlon Levy2010-08-311-0/+2
|
* server: rename SpiceVDIPort* to SpiceCharDevice*Alon Levy2010-08-311-14/+14
|
* complete NetWireInterface redesign, make red_tunnel_worker.c build.Gerd Hoffmann2010-05-191-4/+4
|
* add spice-experimental.hGerd Hoffmann2010-05-191-0/+63
Supposed to be used for work-in-progress bits, where interfaces are not finalized yet. Moved over vdi port interface, tunnel interface and spice client migration functions.