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

Re: [Xen-devel] how to know which file a memory page belongs to?



Thank you for your help. I appreciate.

Best,
Wait



2013/3/21 Tim Deegan <tim@xxxxxxx>
At 14:47 -0400 on 18 Mar (1363618031), ?????? wrote:
> Hi, all,
>
> I'm a student. I want to use Xen to do some test about the relationship
> between memory and file in virtual machine.
> In domain 0 or Xen, how can I know which file (in domain X) a memory page
> belongs to?

Xen only allows dom0 to map domX's memory; to decide what file domX
associates a page with, you'll need some code that can find and
understand the kernel datastructures in domX's memory.  Have a look at
https://code.google.com/p/vmitools/ as a starting point.

Cheers,

Tim.

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