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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275644386 -3600
# Node ID 794fe2d9747b723f6b2e60fa3bb4d40a27365055
# Parent  eabdc88b6d1d23a65ccef3b5572dab12e9d9ec85
xend: PoD check should be for HVM domain only.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
xen-unstable changeset:   21496:f6a4d7eccaad
xen-unstable date:        Tue Jun 01 07:05:22 2010 +0100
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r eabdc88b6d1d -r 794fe2d9747b tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Fri Jun 04 10:39:24 2010 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Fri Jun 04 10:39:46 2010 +0100
@@ -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

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