ia64/xen-unstable

changeset 16943:625c923f7b4a

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jan 30 14:24:20 2008 +0000 (2008-01-30)
parents 87ab3222640c
children 0343aa136101
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Jan 30 14:23:17 2008 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Jan 30 14:24:20 2008 +0000
     1.3 @@ -1585,7 +1585,7 @@ class XendDomainInfo:
     1.4          @raise: XendError for a device that cannot be migrated
     1.5          """
     1.6          for (n, c) in self.info.all_devices_sxpr():
     1.7 -            rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST)
     1.8 +            rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST, self.getName())
     1.9              if rc != 0:
    1.10                  raise XendError("Device of type '%s' refuses migration." % n)
    1.11