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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]