Hi,
I found two setResume()s in XendDomainInfo.py.
One or the other is not necessary, is it?
# grep -n -A 2 setResume ./tools/python/xen/xend/XendDomainInfo.py
1394: def setResume(self, isresume):
1395- self._resume = isresume
1396-
--
1409: def setResume(self, state):
1410- self._resume = state
1411-
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Best regards,
Kan
diff -r 2a8eaba24bf0 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Tue Feb 26 15:11:51 2008 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Thu Feb 28 18:27:49 2008 +0900
@@ -1406,9 +1406,6 @@ class XendDomainInfo:
def setWeight(self, cpu_weight):
self.info[''vcpus_params''][''weight'']
= cpu_weight
- def setResume(self, state):
- self._resume = state
-
def getRestartCount(self):
return self._readVm(''xend/restart_count'')
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel