On 09/08/2018 16:38, Olaf Hering wrote: > Am Thu, 9 Aug 2018 16:37:05 +0200 > schrieb Paolo Bonzini <pbonz...@redhat.com>: > >> If no RAM is allocated (i.e. xen_map_cache will return NULL), however, >> the memory should not be registered as RAM with the memory API. So I >> think the bug is in Xen code. > > Someone familiar with that code has to figure that out. A ballooned page will > trigger that bug.
I guess that's the answer. I think the simplest fix is for the map cache to set aside a zero page and return it whenever it is asked for a ballooned page. Paolo
signature.asc
Description: OpenPGP digital signature