mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: PoD check should be for HVM domain only.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
1 parent
f6a50a21e5
commit
8567eb4c32
1 file changed
+1
-1
@@ -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
|
||||
|
||||