ia64/xen-unstable

changeset 5124:19fb7f508c42

bitkeeper revision 1.1530 (42937238W2qaGubDybmWZrLF-sQjNQ)

console.py, channel.py, XendDomain.py:
Remove/disable debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue May 24 18:28:08 2005 +0000 (2005-05-24)
parents dd3849d6cdea
children b60c53b0f6ef 9bd79570e9bf
files tools/python/xen/xend/XendDomain.py tools/python/xen/xend/server/channel.py tools/python/xen/xend/server/console.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Tue May 24 17:57:15 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Tue May 24 18:28:08 2005 +0000
     1.3 @@ -1,4 +1,5 @@
     1.4  # Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
     1.5 +# Copyright (C) 2005 Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
     1.6  
     1.7  """Handler for domain operations.
     1.8   Nothing here is persistent (across reboots).
     1.9 @@ -73,7 +74,6 @@ class XendDomain:
    1.10      def onVirq(self, event, val):
    1.11          """Event handler for virq.
    1.12          """
    1.13 -        print 'onVirq>', val
    1.14          self.refresh(cleanup=True)
    1.15  
    1.16      def xen_domains(self):
     2.1 --- a/tools/python/xen/xend/server/channel.py	Tue May 24 17:57:15 2005 +0000
     2.2 +++ b/tools/python/xen/xend/server/channel.py	Tue May 24 18:28:08 2005 +0000
     2.3 @@ -37,7 +37,8 @@ def eventChannelClose(evtchn):
     2.4              pass
     2.5          
     2.6      if not evtchn: return
     2.7 -    print 'eventChannelClose>', evtchn
     2.8 +    if DEBUG:
     2.9 +        print 'eventChannelClose>', evtchn
    2.10      evtchn_close(evtchn.get('dom1'), evtchn.get('port1'))
    2.11      evtchn_close(evtchn.get('dom2'), evtchn.get('port2'))
    2.12      
    2.13 @@ -133,7 +134,7 @@ class ChannelFactory:
    2.14          self.virqHandler = virqHandler
    2.15  
    2.16      def virqReceived(self, virq):
    2.17 -        if 1 or DEBUG:
    2.18 +        if DEBUG:
    2.19              print 'virqReceived>', virq
    2.20          if not self.virqHandler: return
    2.21          self.runInThread(lambda virq=virq: self.virqHandler(virq))
     3.1 --- a/tools/python/xen/xend/server/console.py	Tue May 24 17:57:15 2005 +0000
     3.2 +++ b/tools/python/xen/xend/server/console.py	Tue May 24 18:28:08 2005 +0000
     3.3 @@ -174,7 +174,6 @@ class ConsoleDev(Dev, protocol.ServerFac
     3.4      def destroy(self, change=False, reboot=False):
     3.5          """Close the console.
     3.6          """
     3.7 -        print 'ConsoleDev>destroy>', self, reboot
     3.8          if reboot:
     3.9              return
    3.10          try:
    3.11 @@ -357,7 +356,6 @@ class ConsoleController(DevController):
    3.12              self.rebootDevices()
    3.13  
    3.14      def destroyController(self, reboot=False):
    3.15 -        print 'ConsoleController>destroyController>', self, reboot
    3.16          self.destroyed = True
    3.17          self.destroyDevices(reboot=reboot)
    3.18          self.rcvr.deregisterChannel()