[PATCH 1/2] qemu_migration: Refactor qemuMigrationSrcRestoreDomainState