* [Qemu-devel] State of KVM guest debugging support on Power
@ 2011-11-01 14:22 Jan Kiszka
2011-11-03 18:59 ` Stuart Yoder
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2011-11-01 14:22 UTC (permalink / raw)
To: kvm-ppc; +Cc: Alexander Graf, kvm, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] State of KVM guest debugging support on Power
2011-11-01 14:22 [Qemu-devel] State of KVM guest debugging support on Power Jan Kiszka
@ 2011-11-03 18:59 ` Stuart Yoder
2011-11-03 19:10 ` Alexander Graf
2011-11-03 19:14 ` Jan Kiszka
0 siblings, 2 replies; 5+ messages in thread
From: Stuart Yoder @ 2011-11-03 18:59 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel, Alexander Graf, kvm-ppc, kvm
On Tue, Nov 1, 2011 at 9:22 AM, Jan Kiszka <jan.kiszka@web.de> wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] State of KVM guest debugging support on Power
2011-11-03 18:59 ` Stuart Yoder
@ 2011-11-03 19:10 ` Alexander Graf
2011-11-03 19:14 ` Jan Kiszka
1 sibling, 0 replies; 5+ messages in thread
From: Alexander Graf @ 2011-11-03 19:10 UTC (permalink / raw)
To: Stuart Yoder; +Cc: Jan Kiszka, kvm, kvm-ppc, qemu-devel
On 03.11.2011, at 11:59, Stuart Yoder <b08248@gmail.com> wrote:
> On Tue, Nov 1, 2011 at 9:22 AM, Jan Kiszka <jan.kiszka@web.de> wrote:
>> 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
>
> Stuart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] State of KVM guest debugging support on Power
2011-11-03 18:59 ` Stuart Yoder
2011-11-03 19:10 ` Alexander Graf
@ 2011-11-03 19:14 ` Jan Kiszka
2011-11-04 16:11 ` Stuart Yoder
1 sibling, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2011-11-03 19:14 UTC (permalink / raw)
To: Stuart Yoder; +Cc: qemu-devel, Alexander Graf, kvm-ppc, kvm
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
On 2011-11-03 19:59, Stuart Yoder wrote:
> On Tue, Nov 1, 2011 at 9:22 AM, Jan Kiszka <jan.kiszka@web.de> wrote:
>> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] State of KVM guest debugging support on Power
2011-11-03 19:14 ` Jan Kiszka
@ 2011-11-04 16:11 ` Stuart Yoder
0 siblings, 0 replies; 5+ messages in thread
From: Stuart Yoder @ 2011-11-04 16:11 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel, Alexander Graf, kvm-ppc, kvm
On Thu, Nov 3, 2011 at 2:14 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
> On 2011-11-03 19:59, Stuart Yoder wrote:
>> On Tue, Nov 1, 2011 at 9:22 AM, Jan Kiszka <jan.kiszka@web.de> wrote:
>>> 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.)?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-04 16:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01 14:22 [Qemu-devel] State of KVM guest debugging support on Power Jan Kiszka
2011-11-03 18:59 ` Stuart Yoder
2011-11-03 19:10 ` Alexander Graf
2011-11-03 19:14 ` Jan Kiszka
2011-11-04 16:11 ` Stuart Yoder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).