Fix xm sched-sedf
PATCH 1/1 Fix xm sched-sedf
Hi,
I saw the following strange informations.
Domain ID was always -1.
# xm sched-sedf Name ID Period(ms) Slice(ms) Lat(ms) Extra Weight Domain-0 -1 20.0 15.0 0.0 1 0
# xm sched-sedf vm1 Name ID Period(ms) Slice(ms) Lat(ms) Extra Weight vm1 -1 100.0 0.0 0.0 1 0
This patch fixes it.
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xm/main.py +1 -1
@@ -526,7 +526,7 @@ def parse_sedf_info(info): return t(sxp.child_value(info, n, d)) return { - 'domid' : get_info('domid', int, -1), + 'domid' : get_info('domain', int, -1), 'period' : get_info('period', int, -1), 'slice' : get_info('slice', int, -1), 'latency' : get_info('latency', int, -1),
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel