aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:39:46 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:39:46 +0100
commitaef42d382266de50a8f1414ec8e649a8cd706750 (patch)
tree64ffc18dbf03018c5d5210b2afcdf001317af57f
parent786f07dbccaa805b79d11d94e6005618db0feb7b (diff)
downloadxen-aef42d382266de50a8f1414ec8e649a8cd706750.tar.gz
xen-aef42d382266de50a8f1414ec8e649a8cd706750.tar.bz2
xen-aef42d382266de50a8f1414ec8e649a8cd706750.zip
xend: PoD check should be for HVM domain only.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> xen-unstable changeset: 21496:f6a4d7eccaad xen-unstable date: Tue Jun 01 07:05:22 2010 +0100
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index 4f2e7044e7..a60342c668 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -394,7 +394,7 @@ class XendDomainInfo:
maxmem = self.info.get('memory_static_max', 0)
memory = self.info.get('memory_dynamic_max', 0)
- if maxmem > memory:
+ if self.info.is_hvm() and maxmem > memory:
self.pod_enabled = True
else:
self.pod_enabled = False