qemu/include/ui
Markus Armbruster 3b5704b2f8 monitor: Make client_migrate_info synchronous
Live migration with spice works like this today:

  (1) client_migrate_info monitor cmd
  (2) spice server notifies client, client connects to target host.
  (3) qemu waits until spice client connect is finished.
  (4) send over vmstate (i.e. main part of live migration).
  (5) spice handover to target host.

(3) is implemented by making client_migrate_info a async monitor
command.  This is the only async monitor command we have.

The original reason to implement this dance was that qemu did not accept
new tcp connections while the incoming migration was running, so (2) and
(4) could not be done in parallel.  That issue was fixed long ago though.
Qemu version 1.3.0 (released Dec 2012) and newer happily accept tcp
connects while the incoming migration runs.

Time to drop step (3).  This patch does exactly that, by making the
monitor command synchronous and removing the code needed to handle the
async monitor command in ui/spice-core.c

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-04-27 12:46:57 +02:00
..
console.h vnc bugfixes. 2015-03-10 19:28:09 +00:00
input.h input: add support for kbd delays 2014-06-04 08:40:41 +02:00
pixel_ops.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
qemu-pixman.h pixman: add a bunch of PIXMAN_BE_* defines for 32bpp 2015-03-12 15:50:11 +01:00
qemu-spice.h monitor: Make client_migrate_info synchronous 2015-04-27 12:46:57 +02:00
sdl2.h ui/sdl2: Support shared surface for more pixman formats 2015-01-19 13:33:26 +01:00
spice-display.h spice: use bottom half instead of refresh timer for cursor updates 2014-12-16 14:15:29 +01:00