kgdb hooks and kvm-tool
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
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
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.
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