WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] console.py, channel.py, XendDomain.py:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 24 May 2005 18:28:08 +0000
Delivery-date: Tue, 24 May 2005 19:01:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] console.py, channel.py, XendDomain.py:, BitKeeper Bot <=