What's the rationale for change d1efaaee441b "xend: Dis-allow device assignment if PoD is enabled."?
What's the rationale for changeset d1efaaee441b? I'm seeing it when trying to attach a pci device to a PV domain with xm. I think the check is triggering because the domain is ballooned down a bit, but I'm not sure (is there some way to see what the static and dynamic memory sizes are for a domain with the tools?).
As I understand it, PoD only applies to HVM domains. Should this check be made more specific?
Thanks,
J
Quoted 8 lines · Jeremy Fitzhardinge
What's the rationale for changeset
d1efaaee441b? I'm seeing it when trying to attach a pci device to a PV domain with xm. I think the check is triggering because the domain is ballooned down a bit, but I'm not sure (is there some way to see what the static and dynamic memory sizes are for a domain with the tools?).As I understand it, PoD only applies to HVM domains. Should this check be made more specific?
Yes, you are right.
The POD check should be for HVM domain only.
I submitted a patch in the attachment to fix this issue.
Thanks,
Dongxiao
Quoted 3 lines
Thanks,
J
PoD check should be for HVM domain only.
tools/python/xen/xend/XendDomainInfo.py +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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel