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

Daniel P. Berrange berrange at redhat.com
Thu Dec 3 12:33:06 UTC 2009


On Thu, Dec 03, 2009 at 01:30:30PM +0100, Daniel Veillard wrote:
> 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 ?

Purely by luck :-)

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list