From af7b17d1aec9d09284bd15f47bd2170492e68731 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 24 Mar 2008 15:38:14 +0000 Subject: [PATCH] Revert 15676:532d9bb1b153. It is incorrect for 3.1 branch. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendDomainInfo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index d0f683e58..43a0bf1a1 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1112,6 +1112,9 @@ class XendDomainInfo: def setWeight(self, cpu_weight): self.info['cpu_weight'] = cpu_weight + def setResume(self, state): + self._resume = state + def getRestartCount(self): return self._readVm('xend/restart_count') -- 2.39.5