
12 May
2022
12 May
'22
11:26 a.m.
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@redhat.com> --- src/qemu/qemu_migration.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>