From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] hvm: handle PoD and grant pages in HVMOP_get_mem_type Date: Mon, 22 Oct 2012 17:33:33 +0200 Message-ID: <20121022153333.GA27414@aepfle.de> References: <8ebe7b80f02900d5a83e.1350655780@probook.site> <20121022152256.GH12577@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20121022152256.GH12577@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Oct 22, Tim Deegan wrote: > At 16:09 +0200 on 19 Oct (1350662980), Olaf Hering wrote: > > hvm: handle PoD and grant pages in HVMOP_get_mem_type > > > > During kexec in a ballooned PVonHVM guest the new kernel needs to check > > each pfn if its backed by a mfn to find ballooned pages. Currently all > > PoD and grant pages will appear as HVMMEM_mmio_dm, so the new kernel has > > to assume they are ballooned. This is wrong: PoD pages may turn into > > real RAM at runtime, grant pages are also RAM. > > > > Signed-off-by: Olaf Hering > > Applied, thanks. Would you backport this to 4.2 and 4.1? Without this change the guest will get a wrong picture. Too bad I did not consider this initially in 23298:26413986e6e0. Olaf