ia64/xen-unstable

changeset 14588:035ce339d337

Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
on a clean machine.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Mar 27 14:34:34 2007 +0100 (2007-03-27)
parents e43a9c52c843
children 7c2e8bbe9ef8
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Mar 27 14:22:29 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Mar 27 14:34:34 2007 +0100
     1.3 @@ -152,8 +152,9 @@ def recreate(info, priv):
     1.4      try:
     1.5          vmpath = xstransact.Read(dompath, "vm")
     1.6          if not vmpath:
     1.7 -            log.warn('/local/domain/%d/vm is missing. recreate is '
     1.8 -                     'confused, trying our best to recover' % domid)
     1.9 +            if not priv:
    1.10 +                log.warn('/local/domain/%d/vm is missing. recreate is '
    1.11 +                         'confused, trying our best to recover' % domid)
    1.12              needs_reinitialising = True
    1.13              raise XendError('reinit')
    1.14