From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: kgdb hooks and kvm-tool Date: Thu, 15 Sep 2011 08:39:03 +0300 Message-ID: <1316065143.3743.3.camel@lappy> References: <20110914231735.GA2997@dancer.ca.sandia.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: David Evensky , kvm@vger.kernel.org, Cyrill Gorcunov , Asias He To: Pekka Enberg Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:53035 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326Ab1IOFjf (ORCPT ); Thu, 15 Sep 2011 01:39:35 -0400 Received: by fxe4 with SMTP id 4so294004fxe.19 for ; Wed, 14 Sep 2011 22:39:34 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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.