Attaching WinDbg to a Windows guest on Windows host causes hang
Host environment
- Operating system: Windows 10 21H1
- OS/kernel version:
- Architecture: x86
- QEMU flavor: qemu-system-i386
- QEMU version: QEMU emulator version 6.1.0 (v6.1.0-11882-g7deea770bf-dirty)
- QEMU command line:
.\qemu-system-i386.exe -hdd C:\Temp\hdd.qcow2 -chardev tty,path=COM5,id=hostserial -device pci-serial,chardev=hostserial
Emulated/Virtualized environment
- Operating system: Windows XP
- OS/kernel version:
- Architecture: x86
Description of problem
Attempting to attach WinDbg to a Windows guest on a Windows host causes qemu to lockup while using real serial ports. This has been an issue for some time (years if I'm remembering correctly) I just haven't reported it.
Steps to reproduce
- Enable debug in Windows guest
- Create a DB9 between 2 COM ports
- Power guest
- Attach WinDbg to 2nd COM port not in use by the guest