From: Tim Deegan Subject: Re: [PATCH] hvm: handle PoD and grant pages in HVMOP_get_mem_type Date: Mon, 22 Oct 2012 16:22:56 +0100 Message-ID: <20121022152256.GH12577@ocelot.phlegethon.org> References: <8ebe7b80f02900d5a83e.1350655780@probook.site> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <8ebe7b80f02900d5a83e.1350655780@probook.site> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. Tim.