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

Re: [Xen-devel] how to tell if a DomU (HVM) touches a specific address

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] how to tell if a DomU (HVM) touches a specific address
From: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
Date: Sun, 21 Jun 2009 14:00:48 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 21 Jun 2009 05:01:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=dh0YKEtCZWjkKPf+iMhuj7yzULOMRHuf009YVsxzQO0=; b=DTdpSlF3lP3OczWPnROIbUbVKc7y3QOaAtTCLEq5qGXjrj3nYKQE+e7p6jp/EsXulH oEPQBRRbtY3FJ+Ljz56O4ZZpqgqQeRFwlFO+ir188eji28XwtYLAtLtHxHRSUwRM7OYo xE5f4YrLcv403+mOA2Gk/R+WTVsmSnsV38v6g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Fm/vxviX23X2YEXA2sB0Cy3PC3A1F0wIQ8lkmcHTjQ7pwIRS9zW+qACIKXC2+/fzyB WqeaM+rX+OMZKd4qRAYTrLYZR6FFkX6l6Fq1eIZk7sVJudig9hToKVZQZ2+7OWHQmCTy XY12BwzlqlOsNw6gq0k6GU7Lu6kWGkMm16TJQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DD86E@trantor>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D016DD86E@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Jun 20, 2009 at 2:25 PM, James
Harper<james.harper@xxxxxxxxxxxxxxxx> wrote:
> I need to know if my Windows DomU attempts to read or write (or even
> map) a certain physical address. Is there a way I could do this? Maybe
> via xentrace?

If you don't want to modify the Shadow/HAP level, an idea would be, in
case it's physical RAM, to create a dummy MMIO device. This way it
will trap at every access to the memory you're interested and be able
to look at it via xentrace/printk/etc.

Thanks,
Gianluca

-- 
It was a type of people I did not know, I found them very strange and
they did not inspire confidence at all. Later I learned that I had been
introduced to electronic engineers.
                                                  E. W. Dijkstra

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