[libvirt] [PATCH 2/5] qemu: Make qemuMigrationIsAllowed more reusable