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

[Xen-changelog] [xen-unstable] xend: PoD check should be for HVM domain only.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275372322 -3600
# Node ID f6a4d7eccaad0d2c58f09da650977133e0d6bb7a
# Parent  0610f0de49fe3cf34b72ea6b01064c5c424f5737
xend: PoD check should be for HVM domain only.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0610f0de49fe -r f6a4d7eccaad tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Jun 01 07:04:35 2010 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Jun 01 07:05:22 2010 +0100
@@ -396,7 +396,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

_______________________________________________
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®.