On Wed, Jul 21, 2021 at 01:02:06PM +0300, Kirill A. Shutemov wrote: > Yeah, we would need to reconstruct the EFI map somehow. Or we can give > most of memory back to the host and accept/validate the memory again after > reboot/kexec. I donno. Invalidating all memory will also take a lot of time (in the range of seconds). And the EFI map can get pretty large when there is enough fragmentation. The easiest way to handle this is to just pass on an up-to-date data structure. Regards, Joerg