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] How to intercept hypercalls from guest domain in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to intercept hypercalls from guest domain in Xen
From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
Date: Wed, 15 Nov 2006 15:19:48 +0000 (GMT)
Delivery-date: Wed, 15 Nov 2006 07:20:00 -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=FomljfhvA+XSt5qjmQGSCtXugB67sJ+vH9+l7u9XmV672dt8dg5v9pFMgomMUULIaaKM9a+nb5zlEyxj04HQN5Sr2TeJVhGge6Jh/SaEsO5Q5UmS3kxHOczSod2uyxMatrhPPYveJwjTchNqWeHxFTbgdONb+Jx8ZjawvdWQRq8= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to intercept hypercalls from guest domain in Xen, Abhinav Srivastava <=