qemu-e2k/ui
Dr. David Alan Gilbert b82fc321bf Postcopy+spice: Pass spice migration data earlier
Spice hooks the migration status changes to figure out when to
transmit information to the new spice server; but the migration
status in postcopy doesn't quite fit - the destination starts
running before the end of the source migration.

It's not a case of hanging off the migration status change to
postcopy-active either, since that happens before we stop the
guest CPU.

Fix it by sending a notify just after sending the device state,
and adding a flag that can be tested by the notify receiver.

Symptom:
   spice handover doesn't work with the error:
   red_worker.c:11540:display_channel_wait_for_migrate_data: timeout

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-id: 1456161452-25318-1-git-send-email-dgilbert@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-02-23 12:05:02 +01:00
..
shader
cocoa.m ui/cocoa.m: Include qemu/osdep.h 2016-02-08 13:14:40 +00:00
console-gl.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
console.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
curses_keys.h
curses.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
egl-context.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
egl-helpers.c egl-helpers: add functions for render nodes and dma-buf passing 2016-02-23 12:04:39 +01:00
gtk-egl.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
gtk-gl-area.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
gtk.c gtk: fix uninitialized temporary VirtualConsole 2016-02-22 08:38:42 +01:00
input-keymap.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
input-legacy.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
input.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
keymaps.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
keymaps.h
Makefile.objs
qemu-pixman.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
qemu-x509.h
sdl2-2d.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
sdl2-gl.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
sdl2-input.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
sdl2-keymap.h
sdl2.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
sdl_zoom.h
sdl.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
shader.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
spice-core.c Postcopy+spice: Pass spice migration data earlier 2016-02-23 12:05:02 +01:00
spice-display.c spice/gl: tweak debug messages. 2016-02-23 12:04:40 +01:00
spice-input.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-tight.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-tight.h
vnc-enc-zlib.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-zrle-template.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-zrle.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-zrle.h
vnc-enc-zywrle-template.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-enc-zywrle.h
vnc-jobs.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-jobs.h
vnc-palette.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-palette.h
vnc-ws.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc-ws.h
vnc.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
vnc.h
x_keymap.c ui: Clean up includes 2016-02-04 17:01:04 +00:00
x_keymap.h