public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: David Evensky <evensky@dancer.ca.sandia.gov>,
	kvm@vger.kernel.org, Cyrill Gorcunov <gorcunov@gmail.com>,
	Asias He <asias.hejun@gmail.com>
Subject: Re: kgdb hooks and kvm-tool
Date: Thu, 15 Sep 2011 08:39:03 +0300	[thread overview]
Message-ID: <1316065143.3743.3.camel@lappy> (raw)
In-Reply-To: <CAOJsxLFO2fRT2bhakF4VWWUUaFxJN6wCyV=_HORdE4g=SqhPAw@mail.gmail.com>

On Thu, 2011-09-15 at 08:32 +0300, Pekka Enberg wrote:
> On Thu, Sep 15, 2011 at 2:17 AM, David Evensky
> <evensky@dancer.ca.sandia.gov> 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.


  reply	other threads:[~2011-09-15  5:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 23:17 kgdb hooks and kvm-tool David Evensky
2011-09-15  5:32 ` Pekka Enberg
2011-09-15  5:39   ` Sasha Levin [this message]
2011-09-15  6:36     ` David Evensky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316065143.3743.3.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=evensky@dancer.ca.sandia.gov \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox