[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Add cpu_weight and cpu_cap parsing for SXP config create



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Date 1166702907 0
# Node ID 5c46e27e3915734b1a98bce8fce1239e57990c8c
# Parent  628bd9b3fe498eee9dc12d1113c3f325e6ea01a1
[XEND] Add cpu_weight and cpu_cap parsing for SXP config create

Reported by Masaki Kanno on :
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=835

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    2 ++
 1 files changed, 2 insertions(+)

diff -r 628bd9b3fe49 -r 5c46e27e3915 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Thu Dec 21 12:05:41 2006 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Thu Dec 21 12:08:27 2006 +0000
@@ -715,6 +715,8 @@ class XendConfig(dict):
         _set_cfg_if_exists('on_xend_start')
         _set_cfg_if_exists('vcpu_avail')
         _set_cfg_if_exists('max_vcpu_id') # needed for vcpuDomDetails
+        _set_cfg_if_exists('cpu_weight')
+        _set_cfg_if_exists('cpu_cap')
         
         # Parse and store runtime configuration 
         _set_cfg_if_exists('start_time')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.