-
Notifications
You must be signed in to change notification settings - Fork 1
Kernel debugging from Hyper‐V
Fredrik Orderud edited this page Feb 29, 2024
·
4 revisions
Setting Up Kernel-Mode Debugging of a Virtual Machine Manually using a Virtual COM Port
Set-VMComport -VMName <VMName> -Number 1 -Path \\.\pipe\VMKernelDbg
Get-VMComport -VMName <VMName>
bcdedit /debug on
bcdedit /dbgsettings serial debugport:1
Then reboot.
Connect with WinDbg using COM named pipe \\.\pipe\VMKernelDbg
Break the debugger and type in the following to enable debug messages: ed nt!Kd_IHVDRIVER_Mask 0xff