public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kgdb hooks and kvm-tool
@ 2011-09-14 23:17 David Evensky
  2011-09-15  5:32 ` Pekka Enberg
  0 siblings, 1 reply; 4+ messages in thread
From: David Evensky @ 2011-09-14 23:17 UTC (permalink / raw)
  To: kvm


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.

Thanks,
\dae

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kgdb hooks and kvm-tool
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Pekka Enberg @ 2011-09-15  5:32 UTC (permalink / raw)
  To: David Evensky; +Cc: kvm, Sasha Levin, Cyrill Gorcunov, Asias He

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?

                        Pekka

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kgdb hooks and kvm-tool
  2011-09-15  5:32 ` Pekka Enberg
@ 2011-09-15  5:39   ` Sasha Levin
  2011-09-15  6:36     ` David Evensky
  0 siblings, 1 reply; 4+ messages in thread
From: Sasha Levin @ 2011-09-15  5:39 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: David Evensky, kvm, Cyrill Gorcunov, Asias He

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kgdb hooks and kvm-tool
  2011-09-15  5:39   ` Sasha Levin
@ 2011-09-15  6:36     ` David Evensky
  0 siblings, 0 replies; 4+ messages in thread
From: David Evensky @ 2011-09-15  6:36 UTC (permalink / raw)
  To: Sasha Levin; +Cc: Pekka Enberg, kvm, Cyrill Gorcunov, Asias He


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
> > <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.
> 
> --
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-15  6:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-09-15  6:36     ` David Evensky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox