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

[Xen-changelog] console.py, channel.py, XendDomain.py:



ChangeSet 1.1530, 2005/05/24 19:28:08+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        console.py, channel.py, XendDomain.py:
          Remove/disable debug output.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 XendDomain.py     |    2 +-
 server/channel.py |    5 +++--
 server/console.py |    2 --
 3 files changed, 4 insertions(+), 5 deletions(-)


diff -Nru a/tools/python/xen/xend/XendDomain.py 
b/tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       2005-05-24 15:02:08 -04:00
+++ b/tools/python/xen/xend/XendDomain.py       2005-05-24 15:02:08 -04:00
@@ -1,4 +1,5 @@
 # Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+# Copyright (C) 2005 Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
 
 """Handler for domain operations.
  Nothing here is persistent (across reboots).
@@ -73,7 +74,6 @@
     def onVirq(self, event, val):
         """Event handler for virq.
         """
-        print 'onVirq>', val
         self.refresh(cleanup=True)
 
     def xen_domains(self):
diff -Nru a/tools/python/xen/xend/server/channel.py 
b/tools/python/xen/xend/server/channel.py
--- a/tools/python/xen/xend/server/channel.py   2005-05-24 15:02:08 -04:00
+++ b/tools/python/xen/xend/server/channel.py   2005-05-24 15:02:08 -04:00
@@ -37,7 +37,8 @@
             pass
         
     if not evtchn: return
-    print 'eventChannelClose>', evtchn
+    if DEBUG:
+        print 'eventChannelClose>', evtchn
     evtchn_close(evtchn.get('dom1'), evtchn.get('port1'))
     evtchn_close(evtchn.get('dom2'), evtchn.get('port2'))
     
@@ -133,7 +134,7 @@
         self.virqHandler = virqHandler
 
     def virqReceived(self, virq):
-        if 1 or DEBUG:
+        if DEBUG:
             print 'virqReceived>', virq
         if not self.virqHandler: return
         self.runInThread(lambda virq=virq: self.virqHandler(virq))
diff -Nru a/tools/python/xen/xend/server/console.py 
b/tools/python/xen/xend/server/console.py
--- a/tools/python/xen/xend/server/console.py   2005-05-24 15:02:08 -04:00
+++ b/tools/python/xen/xend/server/console.py   2005-05-24 15:02:08 -04:00
@@ -174,7 +174,6 @@
     def destroy(self, change=False, reboot=False):
         """Close the console.
         """
-        print 'ConsoleDev>destroy>', self, reboot
         if reboot:
             return
         try:
@@ -357,7 +356,6 @@
             self.rebootDevices()
 
     def destroyController(self, reboot=False):
-        print 'ConsoleController>destroyController>', self, reboot
         self.destroyed = True
         self.destroyDevices(reboot=reboot)
         self.rcvr.deregisterChannel()

_______________________________________________
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®.