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

Re: [Xen-devel] page content





On Mon, Jul 25, 2016 at 1:03 PM, Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> wrote:
On 07/25/2016 11:29 AM, sepanta s wrote:
> Hi,
> Is there an API in Xen to get the page content of a known gfn ?
> I want to calculate the checksum of the content of the page and wanna
> see if it
> is possible ?

You can map the page with xc_map_foreign_range(), then just inspect the
memory as if it's local to your application.


Cheers,
Razvan

What about getting a page's content in the kernel space in xen?
I have the gfn number and I want to get the page address of that gfn and its content? 

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

 


Rackspace

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