From 555e555de845bbacfa60e7f8b4a988a524300c63 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Fri, 10 Nov 2006 12:48:18 +0000 Subject: [PATCH] [XEND][XM] Fix sched-sedf to return the domid to correspond with xc.c Signed-off-by: Alastair Tse --- tools/python/xen/xend/XendDomain.py | 2 +- tools/python/xen/xm/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index d37514d1c2..d24bf75070 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -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 --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 56467f4df3..d9c0a70024 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -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), -- 2.30.2