On Wed, May 18, 2016 at 07:14:23AM -0600, Tamas K Lengyel wrote:
> On Wed, May 18, 2016 at 3:48 AM, Wei Liu <wei.l...@citrix.com> wrote:
> > On Tue, May 17, 2016 at 08:05:23PM +0800, Big Strong wrote:
> >> Is there a libxc function to translate the
> >> virtual address of malloc() to physical address?
> >
> > Only to answer this question: no. There isn't one.
> >
> > Wei.
> 
> Technically there is! The function xc_translate_foreign_address can be
> used to translate in-guest virtual addresses to physical, works for
> both PV and HVM guests. AFAIK a tool on dom0 can run it on itself.
> Never tried it that way though.
> 

Right. I missed that one. Thanks for correction.

Wei.

> Cheers,
> Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to