This commit is contained in:
committed by
Git OBS Bridge
parent
f5d6338f4d
commit
8cefe055e5
@@ -2,7 +2,7 @@ Index: xen-3.3.0-testing/tools/python/xen/xend/XendNode.py
|
||||
===================================================================
|
||||
--- xen-3.3.0-testing.orig/tools/python/xen/xend/XendNode.py
|
||||
+++ xen-3.3.0-testing/tools/python/xen/xend/XendNode.py
|
||||
@@ -649,11 +649,35 @@ class XendNode:
|
||||
@@ -650,11 +650,35 @@ class XendNode:
|
||||
|
||||
info['cpu_mhz'] = info['cpu_khz'] / 1000
|
||||
|
||||
@@ -43,7 +43,7 @@ Index: xen-3.3.0-testing/tools/python/xen/xend/XendNode.py
|
||||
|
||||
ITEM_ORDER = ['nr_cpus',
|
||||
'nr_nodes',
|
||||
@@ -664,6 +688,9 @@ class XendNode:
|
||||
@@ -665,6 +689,9 @@ class XendNode:
|
||||
'virt_caps',
|
||||
'total_memory',
|
||||
'free_memory',
|
||||
@@ -59,13 +59,13 @@ Index: xen-3.3.0-testing/tools/python/xen/xend/balloon.py
|
||||
+++ xen-3.3.0-testing/tools/python/xen/xend/balloon.py
|
||||
@@ -41,6 +41,8 @@ SLEEP_TIME_GROWTH = 0.1
|
||||
# label actually shown in the PROC_XEN_BALLOON file.
|
||||
labels = { 'current' : 'Current allocation',
|
||||
'target' : 'Requested target',
|
||||
+ 'min-target' : 'Minimum target',
|
||||
+ 'max-target' : 'Maximum target',
|
||||
'low-balloon' : 'Low-mem balloon',
|
||||
'high-balloon' : 'High-mem balloon',
|
||||
'limit' : 'Xen hard limit' }
|
||||
#labels = { 'current' : 'Current allocation',
|
||||
# 'target' : 'Requested target',
|
||||
+# 'min-target' : 'Minimum target',
|
||||
+# 'max-target' : 'Maximum target',
|
||||
# 'low-balloon' : 'Low-mem balloon',
|
||||
# 'high-balloon' : 'High-mem balloon',
|
||||
# 'limit' : 'Xen hard limit' }
|
||||
@@ -67,6 +69,23 @@ def get_dom0_target_alloc():
|
||||
raise VmError('Failed to query target memory allocation of dom0.')
|
||||
return kb
|
||||
@@ -94,7 +94,7 @@ Index: xen-3.3.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
===================================================================
|
||||
--- xen-3.3.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
||||
+++ xen-3.3.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
@@ -1010,6 +1010,27 @@ class XendDomainInfo:
|
||||
@@ -1016,6 +1016,27 @@ class XendDomainInfo:
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user