mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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:
1 parent
16d155c8c6
commit
555e555de8
2 files changed
+2
-2
No files matched your search
@@ -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']],
|
||||
|
||||
@@ -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),
|
||||
|
||||