[libvirt] [PATCH 0/2] qemu: update jobinfo type if the job is not completed in qemuMigrationRun

Wang Rui moon.wangrui at huawei.com
Mon Dec 1 07:05:31 UTC 2014


In qemuMigrationRun the jobinfo type won't be updated until
qemuMigrationWaitForCompletion. If migration is failed or cancelled before
that(such as in qemuMigrationDriveMirror), we can't get the right jobinfo
type. The following patches fix it.

diff to v1:
Reword commit message to clarify why we can't use qemuMigrationUpdateJobStatus.

Wang Rui (2):
  qemu: set jobinfo type to CANCELLED if migration is cancelled in all
    conditions
  qemu: set jobinfo type to FAILED if job is failed in qemuMigrationRun

 src/qemu/qemu_migration.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
1.7.12.4





More information about the libvir-list mailing list