From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767050AbXDTLpo (ORCPT ); Fri, 20 Apr 2007 07:45:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767060AbXDTLpo (ORCPT ); Fri, 20 Apr 2007 07:45:44 -0400 Received: from mtaout4.012.net.il ([84.95.2.10]:58199 "EHLO mtaout4.012.net.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767050AbXDTLpm (ORCPT ); Fri, 20 Apr 2007 07:45:42 -0400 Date: Fri, 20 Apr 2007 14:45:39 +0300 From: Avi Kivity Subject: Re: VMWare Workstation 6 for debugging Linux Kernel (!) In-reply-to: To: Andi Kleen Cc: Xavier Bestel , roland , linux-kernel@vger.kernel.org Message-id: <4628A7E3.5030908@qumranet.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.12 (firebolt.argo.co.il [0.0.0.0]); Fri, 20 Apr 2007 14:45:39 +0300 (IDT) References: <03f401c782d4$95c323e0$eeeea8c0@aldipc> <1177058522.14404.132.camel@frg-rhel40-em64t-04> User-Agent: Thunderbird 1.5.0.10 (X11/20070302) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andi Kleen wrote: > Xavier Bestel 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). -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.