diff options
| author | Yonit Halperin <yhalperi@redhat.com> | 2011-10-17 10:03:18 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-10-25 14:00:53 +0200 |
| commit | edc5cb1a52b2847201acf78b0fba67ab3c2464d5 (patch) | |
| tree | 5998b53e42d55086f130c0e3a7ef1e86f4eea57b /hmp-commands.hx | |
| parent | afe2df69cf9305b195d96afc545d3fefc0fb5f5d (diff) | |
| download | focaccia-qemu-edc5cb1a52b2847201acf78b0fba67ab3c2464d5.tar.gz focaccia-qemu-edc5cb1a52b2847201acf78b0fba67ab3c2464d5.zip | |
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>
Diffstat (limited to 'hmp-commands.hx')
| -rw-r--r-- | hmp-commands.hx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index ab08d583df..e1812676e3 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -824,7 +824,8 @@ ETEXI .params = "protocol hostname port tls-port cert-subject", .help = "send migration info to spice/vnc client", .user_print = monitor_user_noop, - .mhandler.cmd_new = client_migrate_info, + .mhandler.cmd_async = client_migrate_info, + .flags = MONITOR_CMD_ASYNC, }, STEXI |