如何使用Linux + KVM + Qemu将串行COM端口添加到Windows Server 2008?

我们在我们的服务器上使用带有libvirt的Linux + KVM + Qemu来pipe理虚拟WIndows 2008服务器。 主机是Ubuntu 11.04。

重点在于我们的Windows Server 2008客户之一,我们需要连接拨号调制解调器。 将调制解调器连接到主机后,我们发现它已连接到/ dev / ttyS0。 我们确实检查了调制解调器被识别使用

echo atdt3333333 > /dev/ttyS1 

Server .xmlconfiguration包含

 <serial type='pty'> <target port='0'/> </serial> <serial type='dev'> <source path='/dev/ttyS0'/> <target port='1'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> 

现在,启动我们的虚拟服务器,Windows根本没有看到任何COM端口,因此没有看到调制解调器(各种virsh定义/停止/开始…已经完成)

有谁知道如何做到这一点?

这似乎是libvirt或Qemu中的一个问题。 我没有太多机会深入研究这个问题。 似乎有一个与RedHat打开的门票,但它在3月份被打开,并且仍然是新的。 这可能不是一个高度优先的问题。 REF: https : //bugzilla.redhat.com/show_bug.cgi? id = 692417#

我也有一个基于Windows的服务,需要使用串口与目前无法使用的父母进行通信。