[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Last Branch Record (LBR) in Xen


  • To: Jan Beulich <JBeulich@xxxxxxxxxx>
  • From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
  • Date: Fri, 26 Jun 2009 19:48:48 +0530 (IST)
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 26 Jun 2009 07:19:47 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YPcYoXVoCbvSCgtFWBk6eSJjmROI5M9cEJ4NuFuF0WHcD6tkTrgpfqh0N1NnIYNs0zc2PNLkRBfRpw8vKFIIX9B6xbdTEntxUi6CrHjbJweGPZZrqiRT3Gc21PrgWcRPRXmngNbjmkglPPCK2Mz/9OYyt9v11mmfLZCIBLMgy7g=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


Hi Jan,

I got it now. Thanks for the clarification. However, could you please
give me some pointers or suggestions to code this thing in the hypervisor?

Thanks,
Abhinav

--- On Fri, 26/6/09, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:

> From: Jan Beulich <JBeulich@xxxxxxxxxx>
> Subject: Re: [Xen-devel] Last Branch Record (LBR) in Xen
> To: "Abhinav Srivastava" <abhinavs_iitkgp@xxxxxxxxxxx>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Date: Friday, 26 June, 2009, 7:31 PM
> >>> 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
> 


      Cricket on your mind? Visit the ultimate cricket website. Enter 
http://cricket.yahoo.com

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.