On Wed, Mar 03, 2010 at 05:08:58PM +0000, Daniel P. Berrange wrote: > The QMP code was running query-migration instead of query-migrate. > This doesn't work so well > > * src/qemu/qemu_monitor_json.c: s/query-migration/query-migrate/ > --- > src/qemu/qemu_monitor_json.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c > index 3a94dd0..9c0245c 100644 > --- a/src/qemu/qemu_monitor_json.c > +++ b/src/qemu/qemu_monitor_json.c > @@ -1108,7 +1108,7 @@ int qemuMonitorJSONGetMigrationStatus(qemuMonitorPtr > mon, > unsigned long long *total) > { > int ret; > - virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("query-migration", > + virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("query-migrate", > NULL); > virJSONValuePtr reply = NULL; >
ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list