Why reserve maxmem on restore on ia64?
Hi,
while checking the code I found out that when we restore guest on ia64 machine, we reserve up to maxmem pages and than free unused pages. As I'm not familiar with ia64 platform, I'd like to ask what's the reason for such a behavior? This prevent restoring guest on machine where is not enough memory available to alocate maxmem but there's enough memory for alocating memory.
Thanks for answer,
Mirek
Signature · 2 lines
Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel
Because noone has bothered to merge with the x86 restore code, or otherwise implement the more sensible allocation strategy.
-- Keir
Quoted 9 lines · Miroslav Rezanina
Hi,
while checking the code I found out that when we restore guest on ia64 machine, we reserve up to maxmem pages and than free unused pages. As I'm not familiar with ia64 platform, I'd like to ask what's the reason for such a behavior? This prevent restoring guest on machine where is not enough memory available to alocate maxmem but there's enough memory for alocating memory.Thanks for answer,
Mirek