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

Re: [Xen-devel] Is there a way to map pv guest pseudo physical address into dom0?



On Mon, 2011-06-27 at 10:10 +0100, Wei Liu wrote:
> On Mon, Jun 27, 2011 at 5:01 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > I think you want one of xc_map_* provided by libxc (see xenctrl.h). (But
> > avoid xc_map_foreign_batch which is deprecated).
> >
> 
> AFAICT, they take MFN as parameter, but I have pseudo physical addresses. :-(

You need to arrange for the Xen specific bit of the virtio frontend to
do the p2m translation. All externally visible addresses from a PV guest
must be in MFN space.

Otherwise you only option is to pause the guest and map his p2m. Which
would obviously suck.

Ian.



_______________________________________________
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®.