Re: VMWare Workstation 6 for debugging Linux Kernel (!)

From: Avi Kivity
Date: Fri Apr 20 2007 - 07:52:35 EST


Nigel Cunningham wrote:
> Hi.
>
> On Fri, 2007-04-20 at 14:45 +0300, Avi Kivity wrote:
>
>> Andi Kleen wrote:
>>
>>> Xavier Bestel <xavier.bestel@xxxxxxx> writes:
>>>
>>>
>>>
>>>> On Fri, 2007-04-20 at 00:46 +0200, roland wrote:
>>>>
>>>>
>>>>
>>>>> We just quietly added an exciting feature to Workstation 6.0. I believe it
>>>>> will make WS6 a great tool for Linux kernel development. You can now debug
>>>>> kernel of Linux VM with gdb running on the Host without changing anything in
>>>>> the Guest VM. No kdb, no recompiling and no need for second machine. All you
>>>>> need is a single line in VM's configuration file.
>>>>>
>>>>>
>>>> I think qemu has the exact same feature.
>>>>
>>>>
>>> It doesn't seem to work for x86-64 there though.
>>>
>>>
>> kvm's qemu has a patch that allows qemu to be an x86_64 gdbserver (with
>> or without kvm).
>>
>
> I was meaning that vmware wasn't working, but it is now - I was trying a
> 64 host and client, and needed to know both the different line in the
> config file and the different port number.
>

Andi was talking about qemu, not VMware, I believe.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/