ia64/xen-unstable

changeset 13153:5c46e27e3915

[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@xensource.com>
author Alastair Tse <atse@xensource.com>
date Thu Dec 21 12:08:27 2006 +0000 (2006-12-21)
parents 628bd9b3fe49
children dae6bc4241db
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Thu Dec 21 12:05:41 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Thu Dec 21 12:08:27 2006 +0000
     1.3 @@ -715,6 +715,8 @@ class XendConfig(dict):
     1.4          _set_cfg_if_exists('on_xend_start')
     1.5          _set_cfg_if_exists('vcpu_avail')
     1.6          _set_cfg_if_exists('max_vcpu_id') # needed for vcpuDomDetails
     1.7 +        _set_cfg_if_exists('cpu_weight')
     1.8 +        _set_cfg_if_exists('cpu_cap')
     1.9          
    1.10          # Parse and store runtime configuration 
    1.11          _set_cfg_if_exists('start_time')