WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] missing set_gpfn_from_mfn in XENMEM_add_to_physmap/XENMAPSPA

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] missing set_gpfn_from_mfn in XENMEM_add_to_physmap/XENMAPSPACE_gmfn for xenpaging
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 13 Oct 2010 16:27:40 +0200
Delivery-date: Wed, 13 Oct 2010 07:29:54 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1286980067; l=500; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=fdl2Vi1cQkBMqj01dW+Fe9BWyoI=; b=cYI9m+igBfouObdjjW1aP7DZOjDHW9p1P6370vxTZq0GjL7td9yGSGUhKABdo+iBMKB y8ZcHc7igD3ff+rWGcL+thV2z/+XDTOtDFnpfB65vqUztSOxbNmpw8+TgbR8d8znt43+q aZokUSWBugL7n1p/E5xMKS/cYovHKbivHMw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] missing set_gpfn_from_mfn in XENMEM_add_to_physmap/XENMAPSPACE_gmfn for xenpaging, Olaf Hering <=