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

[Xen-devel] How to intercept memory operation in Xen


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
  • Date: Mon, 13 Nov 2006 17:25:57 +0000 (GMT)
  • Delivery-date: Mon, 13 Nov 2006 09:26:15 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VVX1JAY8KsTZ86qdWaN6gab6+iFoY27x1GiYXs45stpTlYHOUMMqqjKuTw35xuQK7OZ0D9xf9CVA2oq9GnmbijHVCh94TP1E0HxBi7PHqx83TQ0uJBVwqJARtiN2q6fcioNEkUxQLEqEj7GNIQA6oH5O3noyRzmdmnwl6E6QpUY= ;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


Hi all,

I am new to the Xen and currently using Xen 3.0.3. My goal is to provide memory logging facility in Dom0. If any guest domain (DomU) application tries to access any memory area, I would like to know in dom0 what area they are accessing. So that if any user space applications try to access kernel memory then i can see in dom0 and using my detection system, i can say that it is illegal memory request as user space applications are not allowed to use kernel memory. I have three Qs related to this:

1) Is this doable?

2) If yes, how should I start with? Do i need to intercept hypercalls? If yes, how to do this?

3) To intercept memory operation, do i need to change in the Xen code? If yes, it would be great if you could point me exact file where changes are to be made.

4) Can it be done using some application or IDS in dom0 with some hooks without changing the Xen code?

I would really appreciate your help.

Thanks,
Abhi


Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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