[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] missing set_gpfn_from_mfn in XENMEM_add_to_physmap/XENMAPSPACE_gmfn for xenpaging


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Wed, 13 Oct 2010 16:27:40 +0200
  • Delivery-date: Wed, 13 Oct 2010 07:29:54 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.