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

Martin Kletzander mkletzan at redhat.com
Mon Dec 1 07:16:40 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141201/aeae159c/attachment-0001.sig>


More information about the libvir-list mailing list