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] Fix xm list's printing of the memory targ

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix xm list's printing of the memory target, when in legacy mode.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Mar 2007 09:50:07 -0700
Delivery-date: Tue, 20 Mar 2007 09:49:43 -0700
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 Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1174175837 0
# Node ID cfb265b93b2d508a51d058fb19e279bba09a00f1
# Parent  2adbc1d22fe7bec28ba757240194b0c82ff6273a
Fix xm list's printing of the memory target, when in legacy mode.

Signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2adbc1d22fe7 -r cfb265b93b2d tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Sat Mar 17 23:55:03 2007 +0000
+++ b/tools/python/xen/xm/main.py       Sat Mar 17 23:57:17 2007 +0000
@@ -796,7 +796,7 @@ def parse_doms_info(info):
         else:
             parsed_info['cpu_time'] = 0
     else:
-        parsed_info['mem'] = get_info('memory_dynamic_min', int,0)
+        parsed_info['mem'] = get_info('memory', int,0)
         parsed_info['cpu_time'] = get_info('cpu_time', float, 0.0)
 
     return parsed_info

_______________________________________________
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] Fix xm list's printing of the memory target, when in legacy mode., Xen patchbot-unstable <=