|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] enforce dom0 cpus and balloon out memory
This patch does 2 jobs:
- Enforce the number of CPUs dom0 will take. See the new variable
"dom0-cpus" in xend-config.sxp (you will want to set this variable to
1 on SMP systems)
- Balloon out dom0 memory when creating domU, if there is not enough
free memory. The lowest level we will balloon out is configured via
the new variable "dom0-min-mem" in xend-config.sxp
I still have a doubt: where to put the code to enforce dom0-cpus. At
the moment I put it into
python/xen/xend/server/SrvDaemon.py, and hopefully that is resonable
enough. Any comment?
Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>
$ diffstat enforce_resource.patch
examples/xend-config.sxp | 8 +++++++
python/xen/xend/XendRoot.py | 10 +++++++++
python/xen/xend/server/SrvDaemon.py | 30 +++++++++++++++++++++++++++-
python/xen/xm/create.py | 38 ++++++++++++++++++++++++++++++++++++
4 files changed, 85 insertions(+), 1 deletion(-)
enforce_resource.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] enforce dom0 cpus and balloon out memory,
aq <=
|
|
|
|
|