WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEND][XM] Fix sched-sedf to return the d

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND][XM] Fix sched-sedf to return the domid to correspond with xc.c
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 15:30:18 +0000
Delivery-date: Fri, 10 Nov 2006 07:30:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND][XM] Fix sched-sedf to return the domid to correspond with xc.c, Xen patchbot-unstable <=