fix external-device-migrate step 0
PATCH 1/1 fix external-device-migrate step 0
The attached patch adds domain name to a migrateDevice call, so the helper script (external-device-migrate example) does not fail at step 0 (MIGRATION_TEST).
Applies with offset to 3.1/3.2-testing.hg
Signed-off-by Pascal Bouchareine <[email protected]>
Signature · 2 lines
\o/ Pascal Bouchareine - Gandi g 0170393757 15, place de la Nation - 75011 Paris
tools/python/xen/xend/XendDomainInfo.py Wed Jan 30 11:29:45 2008 +0100 renamed from tools/python/xen/xend/XendDomainInfo.py Mon Jan 28 10:37:08 2008 +0000 +1 -1
@@ -1569,7 +1576,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)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel