On Tue, Aug 26, 2014 at 12:17:17PM +0200, Zbigniew Bodek wrote: > 2014-08-25 21:30 GMT+02:00 Joel Schopp <joel.schopp@xxxxxxx>: > > > > On 08/25/2014 02:03 PM, Peter Maydell wrote: > >> On 25 August 2014 19:49, Joel Schopp <joel.schopp@xxxxxxx> wrote: > >>> I'm guessing that the patches Peter posted recently might have a > >>> positive effect on breakpoints and debugging with gdb. > >>> https://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg01291.html > >> No, those relate to running a GDB inside the QEMU TCG guest, > >> and won't affect an external gdb. What Zbigniew wants to do > >> is use the QEMU gdbstub to debug the whole guest. For > >> breakpoints to work in that when KVM is enabled requires > >> implementing support for breakpoints and the debug > >> interface in KVM and then the corresponding support for it > >> in QEMU. This is on our todo list (those with cards.linaro.org > >> access can find it as VIRT-116) but I don't think anybody's > >> working on it right now. > >> > > Thanks for the clarification. So many todos, so little time. > > Hello again, > > Thank you all very much for your answers. > Actually I use qemu with GDB as described here (-s -S, etc.), I've > just posted the simplest command that I use to trigger the bug. > So regarding your answers I would like to ask for some more clarification: > * Has anyone encountered/reproduce this problem on your ARM host? > * Any suggestion where to look in the KVM source for these kind of problems? > * Maybe there is some unstable feature that I could disable in > host/guest to narrow this issue? > Just checking: Are you compiling any of your kernels in Thumb-2 mode? I believe the 5250 has a hardware bug with Thumb-2 and Hyp mode. Continuous reboots seems to work fine on my TC2. I can try giving it a test on an Arndale some time in the near future. Which kernel version (exact commit) are you using for your host and guest? Thanks, -Christoffer _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm