[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] This patch fixes the issue with waiting for devices to disconnect during the end



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Date 1179844370 -3600
# Node ID f6928d6369999cd063edd361d592579c2483196b
# Parent  98cf6c05c32a59ad3f4fcd505ca60348589e6096
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@xxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    1 -
 1 files changed, 1 deletion(-)

diff -r 98cf6c05c32a -r f6928d636999 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue May 22 14:48:56 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue May 22 15:32:50 2007 +0100
@@ -1684,7 +1684,6 @@ class XendDomainInfo:
         try:
             if self.domid is not None:
                 xc.domain_destroy(self.domid)
-                self.domid = None
                 for state in DOM_STATES_OLD:
                     self.info[state] = 0
                 self._stateSet(DOM_STATE_HALTED)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.