Isaku Yamahata wrote:
> You want to balloon the memory for vhpt from dom0 and don't want to
> allocate the memory by alloc_domheap_page() with explicit domain
> Then, IA64_HVM_ImageHandler::getRequiredAvailableMemory() is wrong
> place to modify.
> Please see _initDomain() in XendDomainInfo.py and memory, maxmem
> and xc.domain_set_maxmem(), balloon.free().
> Only the argument to balloon.free() should be touched and
> the argument to xc.domain_se_maxmem() shouldn't be touched.
You are right. It should not be added into the maxmem.
Xen-ia64-devel mailing list