[libvirt] [PATCH 05/14] Fix migration cancellation for QEMU

Daniel Veillard veillard at redhat.com
Thu Dec 3 12:30:30 UTC 2009


On Thu, Nov 26, 2009 at 06:27:23PM +0000, Daniel P. Berrange wrote:
> * src/qemu/qemu_monitor_text.c: Add missing underscore in the
>   migrate_cancel monitor command impl
> ---
>  src/qemu/qemu_monitor_text.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/qemu/qemu_monitor_text.c b/src/qemu/qemu_monitor_text.c
> index 2a8b3bd..db15573 100644
> --- a/src/qemu/qemu_monitor_text.c
> +++ b/src/qemu/qemu_monitor_text.c
> @@ -1038,7 +1038,7 @@ int qemuMonitorTextMigrateCancel(qemuMonitorPtr mon)
>  {
>      char *info = NULL;
>  
> -    if (qemuMonitorCommand(mon, "migrate cancel", &info) < 0) {
> +    if (qemuMonitorCommand(mon, "migrate_cancel", &info) < 0) {
>          qemudReportError(NULL, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
>                           "%s", _("cannot run monitor command to cancel migration"));
>          return -1;

  OOps. ACK :-)
How did you spot that ?

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list