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

Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
Alastair Tse committed 2006-11-10 12:48:18 +00:00
1 parent 16d155c8c6
commit 555e555de8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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']],
+1 -1
View File
@@ -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),
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.