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: Question regarding VM_EXIT and VGA

To: xen-devel@xxxxxxxxxxxxxxxxxxx, "Ryan Gardner" <ryan@xxxxxxxxxx>
Subject: [Xen-devel] Re: Question regarding VM_EXIT and VGA
From: "Sujata Garera" <sujatadoshi@xxxxxxxxx>
Date: Mon, 22 Oct 2007 13:46:45 -0400
Delivery-date: Mon, 22 Oct 2007 10:47:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=2hdFUJ/NLoNGTrKyLK1/7NHJisORPf8sAfjV9kHxJiM=; b=rrPxa3658XTaiL7WOdvydfLj1ld3RtwLrs5p4TlR8UE5pfAloklFkjrl5xHjvFf4zMWxP3BlR7/Zb4lukkIQKTVxdea/oTm/xHHllshw7KKwDdOVeMEMnmpgCpjQU240HVPrIsmINQ3aPNAiZ7/AoVn9uzqjtaUwlGQtUqpSKLY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Tx3ONkikJUFMGIRbt48VxGiuMSTobzTwJAUdf2G7Oy345Yyk4fKt6mcSYjZulNLDlg4pdWGKUHoIWUlhjM97/Sm+mNir4AypYgmZrizLsXVXXnI9BAZRJHBR+4RWpAGWXwnDfXiU3I1RTXACp6JDXNUDN5VbPkaE0mAq/WktXP0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47a91af40612050717q1ff68d3h8c34c3c09472cf80@xxxxxxxxxxxxxx>
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: <47a91af40612050717q1ff68d3h8c34c3c09472cf80@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm a student working on a research project using xen, and part of
what we are doing requires the ability to use the branch tracing
facilities of the processor.  I.e. we need to be able to write to the
IA32_DEBUGCTL MSR and read from the Last Branch Record (LBR) stack
(the second of which it appears we can do).

We saw a thread discussing this:
http://lists.xensource.com/archives/html/xen-devel/2007-08/msg00198.html
.  However, it doesn't appear that the method was ever finalized, and
we were unable to find a patch.  Does such a patch exist, or is there
simple way we can read and write to the necessary MSRs in our VM?  Can
we just hack the xen code to set the correct bits in the VMCS MSR
bitmaps?  If so, where are those bitmaps set in the code?

Thanks a lot.

Sujata

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>