xend: PoD check should be for HVM domain only.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
Keir Fraser committed 2010-06-01 07:05:22 +01:00
1 parent f6a50a21e5
commit 8567eb4c32
1 file changed
+1 -1
+1 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.