On Mon, Dec 01, 2014 at 03:05:31PM +0800, Wang Rui wrote:
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


ACK && pushed

Martin

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to