From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: missing set_gpfn_from_mfn in XENMEM_add_to_physmap/XENMAPSPACE_gmfn for xenpaging Date: Wed, 13 Oct 2010 16:27:40 +0200 Message-ID: <20101013142740.GA10265@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hello, while starting xenpaging early from the python code, I ran into the ASSERT in guest_physmap_remove_page -> p2m_remove_page, called from arch_memory_op with op==XENMEM_add_to_physmap, xatp.space==XENMAPSPACE_gmfn. Its called from the hvmloader code. For some reason the mfn passed to get_gpfn_from_mfn() is different than the one returned from ->get_entry() in p2m_remove_page(). Any idea where the missing set_gpfn_from_mfn has to be added for a just paged-in page? Olaf