xend: fix external-device-migrate step 0

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>
This commit is contained in:
Keir Fraser committed 2008-01-30 14:24:20 +00:00
1 parent 17cbb242dc
commit 5fcfe68304
1 file changed
+1 -1
+1 -1
View File
@@ -1585,7 +1585,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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.