26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User Steven Hand <steven@xensource.com>
|
|
# 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@gmail.com>
|
|
|
|
Index: xen-3.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
===================================================================
|
|
--- xen-3.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
+++ xen-3.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
@@ -1680,7 +1680,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)
|