mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1159.1.264 (417963deTKJzOFoPmj0ZA8TSc7OtRQ)
Fix domain restart.
This commit is contained in:
1 parent
01b09086c9
commit
acaff99a9f
2 files changed
+2
-2
No files matched your search
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||