From: David Evensky Subject: Re: kgdb hooks and kvm-tool Date: Wed, 14 Sep 2011 23:36:57 -0700 Message-ID: <20110915063657.GA8737@dancer.ca.sandia.gov> References: <20110914231735.GA2997@dancer.ca.sandia.gov> <1316065143.3743.3.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , kvm@vger.kernel.org, Cyrill Gorcunov , Asias He To: Sasha Levin Return-path: Received: from sentry-two.sandia.gov ([132.175.109.14]:34404 "EHLO sentry-two.sandia.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740Ab1IOGhQ (ORCPT ); Thu, 15 Sep 2011 02:37:16 -0400 Content-Disposition: inline In-Reply-To: <1316065143.3743.3.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: Thanks! \dae On Thu, Sep 15, 2011 at 08:39:03AM +0300, Sasha Levin wrote: > On Thu, 2011-09-15 at 08:32 +0300, Pekka Enberg wrote: > > On Thu, Sep 15, 2011 at 2:17 AM, David Evensky > > wrote: > > > Hi. Is it possible to use kvm-tool with a kernel compiled with kgdb? > > > I've tried adding 'kgdbwait kgdboc=ttyS0' to -p, but that doesn't seem > > > to work. > > > > I've never tried kgdb myself but I'm rather surprised it doesn't just > > work. Sasha, Cyrill, Asias, have you guys ever tried kvmtool with > > kgdb? > > You can either use 'kgdboc=kbd' to use it over the keyboard. I also have > a patch which uses forktty() to spawn serial consoles and redirect guest > tty's into them, but it's somewhat ugly. > > Give me a day or two to make it nicer and I'll send it over. > > -- > > Sasha. > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html