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

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail



On Wed, May 18, 2016 at 3:48 AM, Wei Liu <wei.liu2@xxxxxxxxxx> 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.

Cheers,
Tamas

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

 


Rackspace

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