Let Host to debug its virtual machine
1. configure virtual machine to add a com port. refer here
set up a COM port for a named pipe (in VPC settings COM1 you can select named pipe and give it a name like \\.\pipe\ThePipe)
2. configure virtual operation system (vista) to enable debug and sets its output port. refer here
bcdedit /debug on
dcdedit /dbgsettings serial debugport:1 baudrate:115200
3. config host machine to connect to virtual machine
configure WinDbg to kernel debug (specify the same \\.\pipe\ThePipe in File\Kernel Debug, COM tab, Port text box).
4. Replace OS with checked ndis.sys
To disable WRP on windows vista. Install TakeOwnership.zip refer
5. You can start debug now.
Use !ndiskd.dbglevel, !ndiskd.dbgsystems
No comments:
Post a Comment