[libvirt PATCH 49/80] qemu: Do not set job owner in qemuMigrationJobSetPhase

Peter Krempa pkrempa at redhat.com
Thu May 12 11:26:01 UTC 2022


On Tue, May 10, 2022 at 17:21:10 +0200, Jiri Denemark wrote:
> Both qemuMigrationJobSetPhase and qemuMigrationJobStartPhase were doing
> the same thing, which made little sense. Let's follow the difference
> between qemuDomainObjSetJobPhase and qemuDomainObjStartJobPhase and
> change job owner only in qemuMigrationJobStartPhase.

Okay so at this point qemuMigrationJobSetPhase will be used only when
advancing the Phase after already using qemuMigrationJobStartPhase in
the same function.

> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 18 +++++++++++-------
>  1 file changed, 11 insertions(+), 7 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list