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] Re: How to intercept interrupts from guest domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: How to intercept interrupts from guest domains
From: Mads Bergdal <mbergdal@xxxxxxxxx>
Date: Tue, 19 Sep 2006 11:52:40 +0200
Delivery-date: Tue, 19 Sep 2006 02:53:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1357BD3.160E%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <eeocd3$iqv$1@xxxxxxxxxxxxx> <C1357BD3.160E%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)
Keir Fraser wrote:
On 19/9/06 10:14, "Mads Bergdal" <mbergdal@xxxxxxxxx> wrote:

I am writing my master thesis on virtualization with Xen. I am trying to
    intercept the hypercalls coming from the guest domains. More
specific I am trying to determine where in memory a guest domain is
writing. Does anyone have a hint on where in the code I should try to do
this?

If you want to know where a guest is writing you need to do more than
intercept hypercalls. You want to intercept memory accesses to, which would
liekly mean you need to run on shadow pagetables and manipulate access
permissions to trap on first access to a page.

 -- Keir
Yes, that sounds reasonable. Do you know where in the code this could be achieved?

Mads


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel