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] [PATCH] Trace cr values in SVM mode

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Trace cr values in SVM mode
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Tue, 7 Apr 2009 10:48:06 +0100
Delivery-date: Tue, 07 Apr 2009 02:48:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=UZfHfib9R6GFKQeUKIHhB4IC2+5JBAVG3enbG8n32SE=; b=BEU3PqfzWd9y+9NtWHcsdHxlxJz9rNVMjeVHnWktB/JgxA4n9SH0D4mLgAX9VlQcSn pVYb8wxyFdwEK3vGFalCHYmzU3Px3G42AV38GotfVV82nOCtvy4OUwz3nWjEs/+EXxnf JgbiIgfBmKhM3kPWu9GNM5dJB1cLzW/OU6rj0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=HO3jl9zGY5swiAd69ZAnA4XGrEIx9Qe/y6h4XvVoHNQZtpfVRY/UVajpLz8jyPEbmA B1LCRpRxFzId3G9UNqI/pMNub8DjiXu3Azbrrf8HR3NbXnfoUxCtfEgotzWhEaWQk7hH DJylj2r/eVlI4agdv4zQMm6fpvS1AyR5yYTyY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
VMX code handles cr read/writes explicitly, and so the values read /
written were easily traced.

In SVM, all cr accesses go through the emulator rather than being
handled directly, so no values were traced.

This patch traces values read / written to the cr in the emulator.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

(Hoping this will be counted as a "bug fix".)

Attachment: trace.cr.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Trace cr values in SVM mode, George Dunlap <=