projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a50a2
)
xend: PoD check should be for HVM domain only.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 1 Jun 2010 06:05:22 +0000
(07:05 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 1 Jun 2010 06:05:22 +0000
(07:05 +0100)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index e0c539d41657df4add2eb93052aa08912913cd03..0c01e7779e85f87b5d35b14ffda3f1167931204c 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-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