debuggers.hg

diff tools/python/xen/xend/XendDomainInfo.py @ 16675:9b37cabe0485

xend: Indicate a resume operation

Indicate that the domain is created as part of a resume operation
rather than a 'create'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Dec 19 14:45:04 2007 +0000 (2007-12-19)
parents ef83b50fc4a4
children 9fe92a88912b
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Dec 19 11:14:05 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Dec 19 14:45:04 2007 +0000
     1.3 @@ -1178,6 +1178,9 @@ class XendDomainInfo:
     1.4      def getResume(self):
     1.5          return str(self._resume)
     1.6  
     1.7 +    def setResume(self, isresume):
     1.8 +        self._resume = isresume
     1.9 +
    1.10      def getCap(self):
    1.11          return self.info['vcpus_params']['cap']
    1.12