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] pfn to mfn translation

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] pfn to mfn translation
From: "Bryan D. Payne" <bryan@xxxxxxxxxxxx>
Date: Tue, 3 May 2011 15:02:19 -0600
Delivery-date: Tue, 03 May 2011 14:03:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=5athoRwkL2qGIz0AbbYorDbGWY1gOqoG8iXNKek9bNw=; b=ZY8NRPh9+z7q4+egamVzmZpK3nGGIdAKkxkuUYlH5aY/LrfzbXkeSOgjtS4IySTFxu CVo1n/+AUsDhat919DMQjMLol9JYQ301mGMckm7TQ4Dl/zuUBXBZnOly5mzeh5KNUPRt zNsW22zkKVTgLV5495uKPeO2XEyLbSJWDQuc4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=K5MOn0KXs2DRmm6av/P+Yp4z4MtsoSNWVY899at0JqGQK7Gl909tibVz9ggsfdV0xL G+XT7wEG8v9qETqng5qJ7+UUDaKPdtJvLwbHrCRiA19pZ8O9EHN0/a/QgizIsFl3vSza bqjn0EDEmSw4t9tBxBZNzLGHQMUzu2p85W53Y=
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
Is there a recommended way to convert a guest pfn to an mfn from
within dom0?  I'd like the mfn for calling xc_map_foreign_range in
libxc.

Up until now I've been using code that is similar to what is in
tools/libxc/xc_linux_save.c.  However, my version of this code is now
breaking when used with Xen 4.1 (it worked with Xen 4.0.1).  So I'm
wondering if some of the internal p2m tables have changed.  In the
end, it seems like there should be a libxc function that performs this
translation rather than me needing to duplicate code and risk failures
such as what I'm seeing.  However, I don't see any p2m api calls in
xenctrl.h.

Thanks,
-bryan

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] pfn to mfn translation, Bryan D. Payne <=