: Jan Kiszka [mailto:jan.kis...@siemens.com]
Sent: Thursday, September 17, 2009 1:36 AM
To: Saksena, Abhishek
Cc: kvm@vger.kernel.org
Subject: Re: GDB + KVM Debug
Saksena, Abhishek wrote:
I am using KVM-88. However I can't get gdb still working. I stared qemu with
-s -S option and when I
Saksena, Abhishek wrote:
I am using KVM-88. However I can't get gdb still working. I stared qemu with
-s -S option and when I try to connect gdb to it I get following error:-
(gdb) target remote lochost:1234
lochost: unknown host
lochost:1234: No such file or directory.
(gdb) target
Saksena, Abhishek wrote:
Hi All,
I see Qemu support GDB server that allows debugging kernels, boot loaders and
others. Is this kind of support is available when KVM is enabled.
Yes.
For some reason the single stepping of instructions doesn't seem to work when
KVM is in use. So what
Saksena, Abhishek wrote:
Thanks for the quick reply.
What versions (kernel/kvm-kmod and qemu-kvm) are you using? What is your
host, what your target architecture/operating mode (real mode, 32 bit
prot. mode, 64 bit mode)?
I am using KVM-74? Do I need to upgrade then?
Yes, definitely.
On 09/16/2009 07:37 PM, Jan Kiszka wrote:
My target is x86 and we want to debug all real, prot. and 64 bit mode.
If your host is running 64 bit mode but your target uses less, you need
an extra patch [1] to deal with gdb limitations and a lacking workaround
in qemu(-kvm).
Can you
Avi Kivity wrote:
On 09/16/2009 07:37 PM, Jan Kiszka wrote:
My target is x86 and we want to debug all real, prot. and 64 bit mode.
If your host is running 64 bit mode but your target uses less, you need
an extra patch [1] to deal with gdb limitations and a lacking workaround
in
On 09/16/2009 08:56 PM, Jan Kiszka wrote:
Can you post this against qemu-kvm, with a switch to disable it in case
it interferes with a theoretical fixed gdb?
Any fix for gdb will require some work on the qemu side as well to
actually use it (we will have to transfer additional system
(gdb)
Any help will be appreciated!
Thanks
Abhishek
-Original Message-
From: Jan Kiszka [mailto:jan.kis...@siemens.com]
Sent: Wednesday, September 16, 2009 9:37 AM
To: Saksena, Abhishek
Cc: kvm@vger.kernel.org
Subject: Re: GDB + KVM