[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix xm list's printing of the memory target, when in legacy mode.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.