ia64/xen-unstable

changeset 6693:64ca0d3ea97f

Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Sep 07 21:15:41 2005 +0000 (2005-09-07)
parents 0c9c044fd00c
children a39b1fa10edc
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Sep 07 21:13:46 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Sep 07 21:15:41 2005 +0000
     1.3 @@ -387,6 +387,8 @@ class XendDomainInfo:
     1.4          return ctrl
     1.5  
     1.6      def createDevice(self, type, devconfig, change=False):
     1.7 +        if self.recreate:
     1.8 +            return
     1.9          if type == 'vbd':
    1.10              typedev = sxp.child_value(devconfig, 'dev')
    1.11              if re.match('^ioemu:', typedev):