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] Last Branch Record (LBR) in Xen

To: "Abhinav Srivastava" <abhinavs_iitkgp@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Last Branch Record (LBR) in Xen
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 26 Jun 2009 15:01:52 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Jun 2009 07:06:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <89093.26435.qm@xxxxxxxxxxxxxxxxxxxxxxxxx>
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: <89093.26435.qm@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx> 26.06.09 15:50 >>>
>As far as I understand (please correct me if I am wrong), you meant that HVM 
>guests have to enable the LBR recording, and
>this action cannot be initiated/controlled by Xen. I was thinking like other 
>kind of actions, such as single stepping on instruction,
>single stepping on branch etc. that can be controlled from the hypervisor and 
>guests behave accordingly, the LBR feature can
>also be set/reset from the hypervisor. And, if that is not the case then I 
>think any malicious programs can turn off this feature
>inside HVM guests and can bypass the debugger. Moreover, I assumed anything 
>that a guest can do, can also be done from
>the hypervisor by setting guest MSR registers or bitmap from the hypervisor.

Oh, of course this can be done from the hypervisor, but that wasn't the purpose 
of the patch. You'd have to code this for yourself.

Jan


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

<Prev in Thread] Current Thread [Next in Thread>