G'day folks. Apologies if this is a FAQ. Is there any way to get Windbg working between two Windows guests? I have recently switched from QEMU+KQEMU to QEMU/KVM (better speed and a Vista-ready BIOS got me interested). I never did get Windbg working at all with QEMU+KQEMU. Now I am rather closer with QEMU/KVM, but still no cigar.
I have two XP2 guests. The first (debugee) has /DEBUG etc. in its BOOT.INI; the second doesn't. I start the first with '-serial tcp::5555,server'; it begins loading and waits...I start the latter with '-serial tcp::5555' and both VMs boot fine. OK, now I start Windbg on the debugger, choose Kernel debugging and then try to break into the debugee. It almost works. The debugee freezes, and the debugger gives some feedback to claim that it's started connecting, identifies the remote PC, and then...nothing. If I resynchronise, then occasionally I get a bit further, but never to a command prompt (the place in Windbg where you type in commands remains greyed out with "debugee not connected". After blindly trying applying an oldish QEMU patch mentioned here (http://www.damogran.de/blog/archives/14-WinDbg-and-QEMU.html) I got ever so slightly further, to the point that I reached the Windbg command prompt and could enter commands (e.g. '.dl'). All I got back were sporadic errors such as "couldn't find KTHREAD entry at blah" and other "it's nae workin' cap'n" sort of messages. Can it be made to work? Others seem to have claimed to have done it. Seems I am so near but so far! It would certainly be very handy to be able to do proper Windows kernel debugging with just one PC (and on Linux, no less). Windbg is fine for kernel snooping under QEMU but you need two PCs if you want to use it to set breakpoints inside the kernel. (I have tried Syser, a commercial SoftICE replacement from China, which is a single-PC Windows kernel debugger-with-built-in-monitor-GUI but it BSODded fairly early on in the session. Anyway, I really want to stick to Windbg.) ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel