
25 May
2011
25 May
'11
10:42 a.m.
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