mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
qemu: rename migration APIs to include Src or Dst in their name
It is very difficult while reading the migration code trying to understand whether a particular function is being called on the src side or the dst side, or either. Putting "Src" or "Dst" in the method names will make this much more obvious. "Any" is used in a few helpers which can be called from both sides. Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
8f5133f99e
commit
ffb7954f88
5 files changed
+945
-925
No files matched your search
@@ -447,8 +447,8 @@ testCompareXMLToArgv(const void *data)
|
||||
goto cleanup;
|
||||
|
||||
if (info->migrateFrom &&
|
||||
!(migrateURI = qemuMigrationIncomingURI(info->migrateFrom,
|
||||
info->migrateFd)))
|
||||
!(migrateURI = qemuMigrationDstGetURI(info->migrateFrom,
|
||||
info->migrateFd)))
|
||||
goto cleanup;
|
||||
|
||||
if (!(vm = virDomainObjNew(driver.xmlopt)))
|
||||
|
||||
Reference in new issue
Block a user