mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
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:
1 parent
17cbb242dc
commit
5fcfe68304
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||