WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Pages allocated for a process in a Domain

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Pages allocated for a process in a Domain
From: "Nimgaonkar, Satyajeet" <SatyajeetNimgaonkar@xxxxxxxxxx>
Date: Wed, 8 Dec 2010 18:36:08 +0000
Accept-language: en-US
Delivery-date: Wed, 08 Dec 2010 10:37:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <12871952FC0E29439F861FA745BCDD8503ED36CE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <12871952FC0E29439F861FA745BCDD8503ED36CE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuWQElGyINzzG55TWWXx8cEKp2pogAxJ/0F
Thread-topic: Pages allocated for a process in a Domain
 Hi,
     I am currently working on a security based research project, wherein I wish to do complete memory introspection of a process running on a VM. With regards to this, I need the addresses of the memory pages allocated by xen for that particular process.
     I did go through XenAccess and some related structures like pt_base, mfn_list, xen_machphys_mfn_list and xen_machphys_mapping, but none of them seem to be working on process level granularity (correct me if I am wrong).
     I have currently implemented a custom hypercall in xen. I am invoking this hypercall from a userspace program in DOM U. The program that invokes the hypercall needs be memory instrospected and so I want to figure out the memory addresses of pages allocated for this particular program. Any pointer on this would highly appreciated.

     I hope this detailed explaination would fetch me some valuable suggestions.
     Thanks

Regards,
Satyajeet

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] on behalf of Nimgaonkar, Satyajeet [SatyajeetNimgaonkar@xxxxxxxxxx]
Sent: Tuesday, December 07, 2010 12:55 PM
To: Xen Devel
Subject: [Xen-devel] Pages allocated for a process in a Domain

Hi,
    Can any one please guide me as to how should I find out the exact addresses of the pages allocated for a particular process running on DOM O.
    I learned about some related structures like pt_base, mfn_list, xen_machphys_mfn_list and xen_machphys_mapping. But I still have little clue as to how should I use them to achieve what I want.
    Thanks.

Regards,
Satyajeet
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>