[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1175002474 -3600
# Node ID 035ce339d3370310c5cd4b764844530fb413392c
# Parent  e43a9c52c843c6b05592ffe723b25665e4101b19
Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
on a clean machine.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r e43a9c52c843 -r 035ce339d337 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Mar 27 14:22:29 2007 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Mar 27 14:34:34 2007 +0100
@@ -152,8 +152,9 @@ def recreate(info, priv):
     try:
         vmpath = xstransact.Read(dompath, "vm")
         if not vmpath:
-            log.warn('/local/domain/%d/vm is missing. recreate is '
-                     'confused, trying our best to recover' % domid)
+            if not priv:
+                log.warn('/local/domain/%d/vm is missing. recreate is '
+                         'confused, trying our best to recover' % domid)
             needs_reinitialising = True
             raise XendError('reinit')
         

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.