Hello,
I am attempting to setup a hypervisor debugging lab and having an issue with setting up the debugging connection.
My setup includes my host machine running windows 11 and a guest machine running windows 10/server 2019.
The debugger I am using is Windbg.
I have attempted to configure the setup with both VMware workstation and Hyper-V using the following:
-
For COM serial connection:
bcdedit /hypervisorsettings serial DEBUGPORT:1 BAUDRATE:115200
bcdedit /set hypervisordebug onbcdedit /set dbgtransport kdhvcom.dll
bcdedit /dbgsettings serial DEBUGPORT:1 BAUDRATE:115200
bcdedit /debug on -
For network debugging:
bcdedit /set hypervisordebug on
bcdedit /hypervisorsettings NET HOSTIP:192.168.2.1 PORT:50000Bcdedit /debug yes
Bcdedit /dbgsettings net hostip:192.168.2.1 port:50002
In both cases, kernel debugging works but the debugging session with the hypervisor does not work. There is no error or response.
Windbg simply waits for connection:
Microsoft (R) Windows Debugger Version 10.0.25877.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Using NET for debugging
Opened WinSock 2.0
Using IPv4 only.
Waiting to reconnect…
I have disabled the firewalls but don’t assume it to be the cause since the kernel debugging does goes through.
Secure boot is turned off at least in the VM/Hyper-V settings.
I will be grateful if someone who came across a similar issue can point me in the right direction or point me to some troubleshooting direction
Thanks a lot