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

[Xen-devel] Re: [PATCH] avoid injection of missed timer interrupts while debugging a guest




On 19 Apr 2006, at 21:02, Kamble, Nitin A wrote:

Hi Keir, Ian,
Today if we stop the guest for debugging using the gdbserver and then continue with the guest execution the PIT finds that the time has gone ahead and it missed to inject so many timer ticks, and it tries to inject all of those one by one. So after the gdb continue command the guest just handles the timer interrupts for a long time before it can do anything else.     This patch changes this PIT behavior, if it finds that the guest is being debugged then it does not try to inject missing timer ticks.

How about not accounting missed ticks across DOMF_ctrl_pause'd periods? This would mean that missing_ticks would still be accounted for a DOMF_debugger guest that is not currently being debugged, and will also nicely handle any other circumstances in which a guest might get paused by control software for any reason. I suppose it'll be a bigger patch 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®.