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

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



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID 40a9f315b70869a8c5f29dda2b1592e07c004b47
# Parent  d243a33a6e516ad5093ff76b68ad3b85254edb04
[XEND][XM] Fix sched-sedf to return the domid to correspond with xc.c

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

diff -r d243a33a6e51 -r 40a9f315b708 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Fri Nov 10 12:46:25 2006 +0000
+++ b/tools/python/xen/xend/XendDomain.py       Fri Nov 10 12:48:18 2006 +0000
@@ -1162,7 +1162,7 @@ class XendDomain:
             sedf_info = xc.sedf_domain_get(dominfo.getDomid())
             # return sxpr
             return ['sedf',
-                    ['domain',    sedf_info['domain']],
+                    ['domid',    sedf_info['domid']],
                     ['period',    sedf_info['period']],
                     ['slice',     sedf_info['slice']],
                     ['latency',   sedf_info['latency']],
diff -r d243a33a6e51 -r 40a9f315b708 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Fri Nov 10 12:46:25 2006 +0000
+++ b/tools/python/xen/xm/main.py       Fri Nov 10 12:48:18 2006 +0000
@@ -554,7 +554,7 @@ def parse_sedf_info(info):
         return t(sxp.child_value(info, n, d))
 
     return {
-        'domid'    : get_info('domain',        int,   -1),
+        'domid'    : get_info('domid',        int,   -1),
         'period'   : get_info('period',        int,   -1),
         'slice'    : get_info('slice',         int,   -1),
         'latency'  : get_info('latency',       int,   -1),

_______________________________________________
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®.