]> xenbits.xensource.com Git - xen.git/commitdiff
bitkeeper revision 1.1159.258.54 (42345449eD0_m04QlYElhVoRN9Iyow)
authoriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>
Sun, 13 Mar 2005 14:55:05 +0000 (14:55 +0000)
committeriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>
Sun, 13 Mar 2005 14:55:05 +0000 (14:55 +0000)
Bug fix in recent xend checking
Signed-off-by: ian@xensource.com
tools/python/xen/xend/server/console.py

index 3e76c6ccef466e43a911224badd0a56d4956c9bb..efe85acccc1f49d1e0511be5d67da12dd62f0e69 100755 (executable)
@@ -84,7 +84,7 @@ class ConsoleControllerFactory(controller.ControllerFactory):
 
     def createController(self, dom, console_port=None):
         if console_port is None:
-            console_port = CONSOLE_PORT_BASE + dom
+            console_port = xroot.get_console_port_base() + dom
         for c in self.getControllers():
             if c.console_port == console_port:
                 raise XendError('console port in use: ' + str(console_port))