[libvirt] [PATCH 6/9] Fix error propagation in finish method for v3 migration
Matthias Bolte
matthias.bolte at googlemail.com
Wed May 25 08:42:39 UTC 2011
2011/5/24 Daniel P. Berrange <berrange at 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
More information about the libvir-list
mailing list