summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-31 10:12:14 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-31 10:12:14 -0500
commiteca968d0d4250fe95abbc7ea99f887142f44b4e0 (patch)
tree0aa5371719a5b7ed6c9af7096c3653cb49387596 /monitor.c
parent03a0e9444c2beff94ff26fbfc30ea067ea4bf6ed (diff)
parent08cc67f32ebe9b7dc3e1410f0678f198c092c0e7 (diff)
Merge remote-tracking branch 'spice/spice.v45' into staging
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index d13bd15209..ee53f7fcaf 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1153,7 +1153,8 @@ static int add_graphics_client(Monitor *mon, const QDict *qdict, QObject **ret_d
return -1;
}
-static int client_migrate_info(Monitor *mon, const QDict *qdict, QObject **ret_data)
+static int client_migrate_info(Monitor *mon, const QDict *qdict,
+ MonitorCompletion cb, void *opaque)
{
const char *protocol = qdict_get_str(qdict, "protocol");
const char *hostname = qdict_get_str(qdict, "hostname");
@@ -1168,7 +1169,8 @@ static int client_migrate_info(Monitor *mon, const QDict *qdict, QObject **ret_d
return -1;
}
- ret = qemu_spice_migrate_info(hostname, port, tls_port, subject);
+ ret = qemu_spice_migrate_info(hostname, port, tls_port, subject,
+ cb, opaque);
if (ret != 0) {
qerror_report(QERR_UNDEFINED_ERROR);
return -1;