[GSoC][PATCH v2] virmigraiton: `qemuMigrationJobPhase` transformed for more generic use