]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
xend: fix external-device-migrate step 0
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Feb 2008 14:19:20 +0000 (14:19 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Feb 2008 14:19:20 +0000 (14:19 +0000)
Add domain name to a migrateDevice call, so the helper script
(external-device-migrate example) does not fail at step 0
(MIGRATION_TEST).

Signed-off-by: Pascal Bouchareine <pascal@gandi.net>
xen-unstable changeset:   16943:625c923f7b4a6c9ea6614aafba7714e431ca53a5
xen-unstable date:        Wed Jan 30 14:24:20 2008 +0000

tools/python/xen/xend/XendDomainInfo.py

index 3210d3497bc434115acf67dad5d8e8c0fbee40d8..e5374f2e2be1d9b55d6217681b7a1a7937a6d404 100644 (file)
@@ -1468,7 +1468,7 @@ class XendDomainInfo:
         @raise: XendError for a device that cannot be migrated
         """
         for (n, c) in self.info.all_devices_sxpr():
-            rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST)
+            rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST, self.getName())
             if rc != 0:
                 raise XendError("Device of type '%s' refuses migration." % n)