]> git.proxmox.com Git - qemu.git/commit
spice: turn client_migrate_info to async
authorYonit Halperin <yhalperi@redhat.com>
Mon, 17 Oct 2011 08:03:18 +0000 (10:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Oct 2011 12:00:53 +0000 (14:00 +0200)
commitedc5cb1a52b2847201acf78b0fba67ab3c2464d5
tree5998b53e42d55086f130c0e3a7ef1e86f4eea57b
parentafe2df69cf9305b195d96afc545d3fefc0fb5f5d
spice: turn client_migrate_info to async

RHBZ 737921
Spice client is required to connect to the migration target before/as migration
starts. Since after migration starts, the target qemu is blocked and cannot accept new spice client
we trigger the connection to the target upon client_migrate_info command.
client_migrate_info completion cb will be called after spice client has been
connected to the target (or a timeout). See following patches and spice patches.

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hmp-commands.hx
monitor.c
qmp-commands.hx
ui/qemu-spice.h
ui/spice-core.c