Re: [libvirt] [PATCH] Support a new peer-to-peer migration mode & public API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/17/2009 07:25 PM, Daniel P. Berrange wrote:
+    if (flags&  VIR_MIGRATE_PEER2PEER) {
+        if (VIR_DRV_SUPPORTS_FEATURE (domain->conn->driver, domain->conn,
+                                      VIR_DRV_FEATURE_MIGRATION_P2P)) {
+            char *duri = NULL;

Is there a reason why you shouldn't try a VIR_MIGRATE_PEER2PEER if dconn is NULL, rather than having a separate flag? If I read the code correctly, this would make virDomainMigrateToURI unnecessary.

Paolo

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]