Skip to contentSkip to conversation

kgdb hooks and kvm-tool

DISCUSSION David Evensky 3 participants 4 messages Sep 14, 2011 – Sep 15, 2011 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · David Evensky

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

#2 lore raw
Quoted 9 lines · Pekka Enberg
Quoted 3 lines · David Evensky

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.

Signature · 1 line
Sasha.
#3 lore raw

Thanks!
\dae

Quoted 25 lines · Sasha Levin
Quoted 9 lines · Pekka Enberg
Quoted 3 lines · David Evensky

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.

Signature · 6 lines
Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html