Is there an existing issue for this?
Current Behavior
All serial ports have been converted to virtio ports. KDCOM driver running on the device doesn't know how to communicate over VirtIO port. This causes windbg to stop functioning with this latest change.
In QemuRunner.py we need to have an flag to allow us to redirect STDIO to port passed in, where right now it is hard coded to None
.with_serial_port(None, log_files=["secure_mm.log"])
Expected Behavior
.with_serial_port(serial_port, log_files=["secure_mm.log"])
We need to be able to pass the serial_port option in to allow dbgeng for KDCOM to properly connect to windbg instance.
Steps To Reproduce
stuart_build -c Platforms/QemuArmVirtPkg/PlatformBuild.py --flashonly GDB_SERVER=5555 SERIAL_PORT=56789 TPM_DEV=$(TPM_DEV) PATH_TO_OS=$(PATH_TO_OS)
Start windbg with windbg -k com:ipport=56789,port=127.0.0.1 -v
Windbg will not connect.
Build Environment
- OS(s): Any
- Targets Impacted: ARM_VIRT
Version Information
8f1f2ff9339220c0ad3bd8708902106440e53ea9
Urgency
Medium
Are you going to fix this?
I will fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
Is there an existing issue for this?
Current Behavior
All serial ports have been converted to virtio ports. KDCOM driver running on the device doesn't know how to communicate over VirtIO port. This causes windbg to stop functioning with this latest change.
In QemuRunner.py we need to have an flag to allow us to redirect STDIO to port passed in, where right now it is hard coded to None
Expected Behavior
We need to be able to pass the serial_port option in to allow dbgeng for KDCOM to properly connect to windbg instance.
Steps To Reproduce
stuart_build -c Platforms/QemuArmVirtPkg/PlatformBuild.py --flashonly GDB_SERVER=5555 SERIAL_PORT=56789 TPM_DEV=$(TPM_DEV) PATH_TO_OS=$(PATH_TO_OS)
Start windbg with windbg -k com:ipport=56789,port=127.0.0.1 -v
Windbg will not connect.
Build Environment
Version Information
Urgency
Medium
Are you going to fix this?
I will fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response