|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [XEND] Remember cpu-pinning information across guest res
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID b36697ed766c00668ed264053ffb86e47f08af52
# Parent 1a18ca9a4a0b1c3f483e4323e8cfdcdb0a06efbd
[XEND] Remember cpu-pinning information across guest restarts.
Signed-off-by: Qing He <qing.he@xxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 4 ++++
1 files changed, 4 insertions(+)
diff -r 1a18ca9a4a0b -r b36697ed766c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Thu May 25 14:42:07 2006 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Thu May 25 14:45:40 2006 +0100
@@ -1545,6 +1545,10 @@ class XendDomainInfo:
self.configure_bootloader()
config = self.sxpr()
+
+ if self.infoIsSet('cpus') and len(self.info['cpus']) != 0:
+ config.append(['cpus', reduce(lambda x, y: str(x) + "," + str(y),
+ self.info['cpus'])])
if self.readVm(RESTART_IN_PROGRESS):
log.error('Xend failed during restart of domain %d. '
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [XEND] Remember cpu-pinning information across guest restarts.,
Xen patchbot-unstable <=
|
|
|
|
|