[libvirt] [PATCH 1/2] qemu: set jobinfo type to CANCELLED if migration is cancelled in all conditions
Wang Rui
moon.wangrui at huawei.com
Mon Dec 1 07:02:53 UTC 2014
On 2014/12/1 4:29, Martin Kletzander wrote:
> Yes, you're right, that basically what I wanted to know, but was too
> busy searching for. ACK to this patch then. Would you be OK with me
> rewording the commit message as follows?
>
> The migration job status is traced in qemuMigrationUpdateJobStatus
> which is called in qemuMigrationRun. But if migration is cancelled
> before the trace such as in qemuMigrationDriveMirror, the jobinfo
> type won't be updated to CANCELLED. After this patch, we can get
> jobinfo type CANCELLED if migration is cancelled during drive
> mirror. Moreover, we can't use qemuMigrationUpdateJobStatus
> because from qemu's point of view it's just the drive mirror being
> cancelled and the migration hasn't even started yet.
>
> Martin
Yes, I'll send V2 right now.
More information about the libvir-list
mailing list