From: Keir Fraser Subject: Re: How to intercept interrupts from guest domains Date: Tue, 19 Sep 2006 10:49:55 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mads Bergdal , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19/9/06 10:14, "Mads Bergdal" 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