Live migration of Domains results in a blank name
When live migrating a domain between two hosts using the domain.migrate()
, domain.migrate2()
, domain.migrate_to_uri()
, or domain.migrate_to_uri2()
functions, the domain's name gets changed to a blank string.
This can cause many issues, such as being unable to perform actions on a stopped domain through virsh
(as virsh
commands won't accept a blank string as an argument), or being unable to have multiple live-migrated domains on as single host (because you can't have multiple domains on a host with the same name and renaming the domain requires it to be stopped).