ia64/xen-unstable

changeset 15183:f6928d636999

This patch fixes the issue with waiting for devices to disconnect during the end
stage of migration in Xend. The problem was cause by a deletion of the VM domain
ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get
the virtual backend device path. The virtual backend device path is used to
check if a device still exists in xenstore.

Signed-off-by: Yung Giang <yung.giang@gmail.com>
author Steven Hand <steven@xensource.com>
date Tue May 22 15:32:50 2007 +0100 (2007-05-22)
parents 98cf6c05c32a
children 8c2986a922d3 a40967e39652
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue May 22 14:48:56 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue May 22 15:32:50 2007 +0100
     1.3 @@ -1684,7 +1684,6 @@ class XendDomainInfo:
     1.4          try:
     1.5              if self.domid is not None:
     1.6                  xc.domain_destroy(self.domid)
     1.7 -                self.domid = None
     1.8                  for state in DOM_STATES_OLD:
     1.9                      self.info[state] = 0
    1.10                  self._stateSet(DOM_STATE_HALTED)