mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1159.258.54 (42345449eD0_m04QlYElhVoRN9Iyow)
Bug fix in recent xend checking Signed-off-by: ian@xensource.com
This commit is contained in:
1 parent
619ad08f6f
commit
979c0140ab
1 file changed
+1
-1
@@ -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))
|
||||
|
||||