[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix typo in QEMU migration command name



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/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]