From: Abhinav Srivastava Subject: How to intercept hypercalls from guest domain in Xen Date: Wed, 15 Nov 2006 15:19:48 +0000 (GMT) Message-ID: <20061115151948.20429.qmail@web7910.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0192923111==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0192923111== Content-Type: multipart/alternative; boundary="0-278230229-1163603988=:19982" Content-Transfer-Encoding: 8bit --0-278230229-1163603988=:19982 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I am currently using Xen 3.0.3-testing version and would like to know the way to to intercept the hypercalls in Xen. I browsed the code and found that in Xen, there is a file entry.S which has defined the hypercall handler, which invokes the hypercall service routine based on the hypercall number supplied in the eax register. I would like to log all the hypercalls (also arguments/parameters) issued from guest OS in domU to provide a logging mechanism in the dom0. I am currently reading the code but I could not figure it out how to do that easily. I look forward to hear from you guys. Thanks, Abhinav --------------------------------- 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 --0-278230229-1163603988=:19982 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi all,
 
I am currently using Xen 3.0.3-testing version and would like to know the way to to intercept the hypercalls in Xen. I browsed the code and found that in Xen, there is a file entry.S which has defined the hypercall handler, which invokes the hypercall service routine based on the hypercall number supplied in the eax register. I would like to log all the hypercalls (also arguments/parameters) issued from guest OS in domU to provide a logging mechanism in the dom0.
 
I am currently reading the code but I could not figure it out how to do that easily.
 
I look forward to hear from you guys.
 
Thanks,
Abhinav


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 --0-278230229-1163603988=:19982-- --===============0192923111== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0192923111==--