State of KVM guest debugging support on Power
Hi there,
I'm generating some slides on guest debugging via kvm. What's the current state for Book-E and Book-S? Works out of box, mostly usable, or to be implemented? Is anyone using it?
Thanks,
Jan
Quoted 5 lines · Jan Kiszka
Hi there,
I'm generating some slides on guest debugging via kvm. What's the current state for Book-E and Book-S? Works out of box, mostly usable, or to be implemented? Is anyone using it?
Are you talking about guest debug using the QEMU stub or using
the virtual CPU's debug registers and interrupts? For Freescale
Book E we have both approaches working, and patches to be sent upstream soon.
Stuart
Quoted 11 lines · Stuart Yoder
Quoted 5 lines · Jan Kiszka
Hi there,
I'm generating some slides on guest debugging via kvm. What's the current state for Book-E and Book-S? Works out of box, mostly usable, or to be implemented? Is anyone using it?
Are you talking about guest debug using the QEMU stub or using
the virtual CPU's debug registers and interrupts? For Freescale
Book E we have both approaches working, and patches to be sent upstream soon.
For BookS I had played around with soft breakpoints for a bit, but I don't think I ever sent that upstream.
Alex
Quoted 2 lines
Stuart
Quoted 11 lines · Stuart Yoder
Quoted 5 lines · Jan Kiszka
Hi there,
I'm generating some slides on guest debugging via kvm. What's the current state for Book-E and Book-S? Works out of box, mostly usable, or to be implemented? Is anyone using it?
Are you talking about guest debug using the QEMU stub or using
the virtual CPU's debug registers and interrupts? For Freescale
Book E we have both approaches working, and patches to be sent upstream soon.
It's good to see both features coming into mainline.
I'll talk about the former, ie. debugging without guest help/awareness (virtual hardware debugger). Is gdb well prepared for it (all registers available, real-mode support, etc.)?
Thanks,
Jan
Quoted 13 lines · Jan Kiszka
Quoted 11 lines · Stuart Yoder
Quoted 5 lines · Jan Kiszka
Hi there,
I'm generating some slides on guest debugging via kvm. What's the current state for Book-E and Book-S? Works out of box, mostly usable, or to be implemented? Is anyone using it?
Are you talking about guest debug using the QEMU stub or using the virtual CPU's debug registers and interrupts? For Freescale Book E we have both approaches working, and patches to be sent upstream soon.
Quoted 5 lines
It's good to see both features coming into mainline.
I'll talk about the former, ie. debugging without guest help/awareness (virtual hardware debugger). Is gdb well prepared for it (all registers available, real-mode support, etc.)?
Right now it looks like the basic register set is available, not SPRs but not
because of any gdb limitation as far as I know. gdb supports additional
registers with the correct target description xml file passed back to it when it connects to the target.
In the QEMU monitor, we currently show key SPRs for 'info registers'.
As far as real mode goes, don't have direct experience with it as everything we are doing is bookE, which has no real mode.
Stuart