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

Re: [Xen-devel] [PATCH] vmx: Fix single step on debugger


  • To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Mon, 22 Dec 2008 08:02:03 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 22 Dec 2008 00:02:30 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclkC5L5pju3Igzyb0KdCqiteUTcGQ==
  • Thread-topic: [Xen-devel] [PATCH] vmx: Fix single step on debugger

On 22/12/2008 02:34, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:

> Indeed, this fix is hacky but it works well for me.
> 
> At first, I tried setting GUEST_PENDING_DBG_EXCEPTIONS.BS
> according to the SDM. As a result, the guest doesn't be killed
> but never go progress after the STI instruction
> (i.e. VM exit immediately after VM entry) as long as RFLAGS.TF=1.
> That is inconvenient for debugging.
> 
> Is there any other way?

If you make it conditional on debugger_attached then I guess you can do what
you like. I strongly dislike it though.

 -- Keir



_______________________________________________
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®.