怎么用qemu生成一个用管道虚拟的串口, windows下的qemu
我在搭建 wdk的调试环境, 用windbg调试 虚拟机的xp
虚拟机用的qemu 0.13
我在《寒江独钓》 中 跟着做,
windbg 我设置了启动参数:
windbg.exe -b -k com:port=\\.\pipe\com_1, baud=115200,pipe
用后面的参数连接一个管道,把它当做一个串口处理
然后在qemu中 创建一个管道 来虚拟串口, 看了下 qemu的 手册,只有简单的几句
Debug/Expert options:
`-serial dev'
Redirect the virtual serial port to host character device dev. The default device is vc in graphical mode and stdio in non graphical mode.
This option can be used several times to simulate up to 4 serials ports.
pipe:filename
name pipe filename
这个是linux下的管道, 不是windows下的
这里是不是把调试信息输出到 管道中, 然后用windbg连接这个管道?
请问如何用qemu来 虚拟一个串口 通过管道?, 网上都是用vmware设置串口,没有关于qemu的串口的使用