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

Re: [libvirt] [PATCH 1/3] fix migration of paused vms upon failure



On Wed, Nov 25, 2009 at 04:40:06PM +0100, Paolo Bonzini wrote:
> This makes a small change on the failed-migration path.  Up to now,
> all VMs that failed non-live migration after the "stop" command
> were restarted.  This must not be done when the VM was paused in
> the first place.
> 
> * src/qemu/qemu_driver.c (qemudDomainMigratePerform): Do not restart
> a paused VM that fails migration.  Set paused state after "stop",
> reset it after failure.
> ---
>  src/qemu/qemu_driver.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

ACK, looks good.


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 :|


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