direct-io.hg

changeset 12356:40a9f315b708

[XEND][XM] Fix sched-sedf to return the domid to correspond with xc.c

Signed-off-by: Alastair Tse <atse@xensource.com>
author Alastair Tse <atse@xensource.com>
date Fri Nov 10 12:48:18 2006 +0000 (2006-11-10)
parents d243a33a6e51
children b15168de4d91
files tools/python/xen/xend/XendDomain.py tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Fri Nov 10 12:46:25 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Fri Nov 10 12:48:18 2006 +0000
     1.3 @@ -1162,7 +1162,7 @@ class XendDomain:
     1.4              sedf_info = xc.sedf_domain_get(dominfo.getDomid())
     1.5              # return sxpr
     1.6              return ['sedf',
     1.7 -                    ['domain',    sedf_info['domain']],
     1.8 +                    ['domid',    sedf_info['domid']],
     1.9                      ['period',    sedf_info['period']],
    1.10                      ['slice',     sedf_info['slice']],
    1.11                      ['latency',   sedf_info['latency']],
     2.1 --- a/tools/python/xen/xm/main.py	Fri Nov 10 12:46:25 2006 +0000
     2.2 +++ b/tools/python/xen/xm/main.py	Fri Nov 10 12:48:18 2006 +0000
     2.3 @@ -554,7 +554,7 @@ def parse_sedf_info(info):
     2.4          return t(sxp.child_value(info, n, d))
     2.5  
     2.6      return {
     2.7 -        'domid'    : get_info('domain',        int,   -1),
     2.8 +        'domid'    : get_info('domid',        int,   -1),
     2.9          'period'   : get_info('period',        int,   -1),
    2.10          'slice'    : get_info('slice',         int,   -1),
    2.11          'latency'  : get_info('latency',       int,   -1),