[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] How to debug windows drivers
Hello @all, Hello Paul,I tried this on XCP-ng, but without luck as you can read here: https://xcp-ng.org/forum/topic/681/serial-port-from-vm So I assume that you (Paul) just develop on plain XEN? Do you or someone else know a proper way to do the debugging under XenServer/XCP-ng? I wonder how Citrix devs do this ;-) Thanks! Alex Am 28.11.2018 um 17:52 schrieb Paul Durrant: -----Original Message----- From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of code@xxxxxxxxxxxxx Sent: 27 November 2018 23:20 To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx Subject: [win-pv-devel] How to debug windows drivers Hello @all, is there a howto for debugging the PV-Drivers in Visual Studio? I tried in Visual Studio 2012 and 2017 (Windows Kernel Mode Debuggers) but had no luck so far. It seems that MS doesn't have a easy way to do this. I read and tried all the stuff on MSDN (KDNET, WinDbg, etc.), but ... :-( How do you debug these drivers?What I normally do is set up a virtual serial port in QEMU and then set up Windows to debug via serial. On your client machine you then need to use something to map a local pipe or serial port to that virtual serial device. There are several ways of doing it but the one I normally use is to have QEMU map the virtual serial port to a TCP socket and then I run a small daemon on my client machine that connects to that socket and pumps data between that and a named pipe. I then connect WinDbg to the named pipe. HTH, PaulThanks for any advice or pointers! -- Alexander Schulz XCP-ng Project Member Maintainer of: XCP-ng Center and XCP-ng PV-Tools XCP-ng Project -------------- web: https://xcp-ng.org Github: https://github.com/xcp-ng IRC: #xcp-ng on Freenode _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel_______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |