[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



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]