bitkeeper revision 1.1159.1.264 (417963deTKJzOFoPmj0ZA8TSc7OtRQ)

Fix domain restart.
This commit is contained in:
cl349@freefall.cl.cam.ac.uk committed 2004-10-22 19:47:42 +00:00
1 parent 01b09086c9
commit acaff99a9f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ class XendDomainInfo:
if self.memory is None:
raise VmError('missing memory size')
cpu = sxp.child_value(config, 'cpu')
if self.dom and cpu is not None:
if self.recreate and self.dom and cpu is not None:
xc.domain_pincpu(self.dom, int(cpu))
self.init_domain()
+1 -1
View File
@@ -68,7 +68,7 @@ class CtrlMsgRcvr:
@type responders: {int:Responder}
"""
def __init__(self, remote_port = 0):
def __init__(self, remote_port=0):
self.channelFactory = channel.channelFactory()
self.majorTypes = {}
self.dom = None
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.