[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 6/9] Fix error propagation in finish method for v3 migration
- From: Matthias Bolte <matthias bolte googlemail com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 6/9] Fix error propagation in finish method for v3 migration
- Date: Wed, 25 May 2011 10:42:39 +0200
2011/5/24 Daniel P. Berrange <berrange redhat com>:
> Even when failing to start CPUs, the finish method was returning
> a success result. Fix this so that the QEMU process is killed
> off when finish fails under v3 protocol. Also rename the
> killOnFinish boolean to 'v3proto' to make it clearer that this
> is a tunable based on the migration protocol version
>
> * src/qemu/qemu_driver.c: Update for API change
> * src/qemu/qemu_migration.c, src/qemu/qemu_migration.h: Kill
> VM in qemuMigrationFinish if failing to start CPUs
> ---
> src/qemu/qemu_driver.c | 8 ++++----
> src/qemu/qemu_migration.c | 37 ++++++++++++++++++++++++++++++++-----
> src/qemu/qemu_migration.h | 5 +++--
> 3 files changed, 39 insertions(+), 11 deletions(-)
>
ACK.
Matthias
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]