Three serial ports for guest

ondryk

New Member
Nov 21, 2014
2
0
1
Hi all,
I am running PVE node 3.3-1/a06c9f73. On this node I have three serial ports - real, USB, and virtual one using socat (/dev/ttyS0, /dev/ttyUSB0, /dev/pts/2). I need to propagate all these three COM ports into KVM machine with Windows 2003 Server 32bit. I use this qemu machine conf :


serial0: /dev/ttyS0
serial1: /dev/ttyUSB0
serial2: /dev/pts/2

Problem is, that only two of these ports are working. In Windows guest there are only COM1 and COM2 ports. Their order depends on their order in config file, and they work - I am able to send some data using putty through them. But manual add of another COM port in widnows is not working, and I see only COM1 and COM2.
I also tried to specify all ports using

-args serial /dev/ttyS0

and I also tried some combinations using both above methods (using serial option together with args). But none of this worked.

Is there any way how to propagate three serial devices as COM ports to windows virtual machine?

Thank you.
 
First, please update to latest version.

Second, I uploaded a fix to the pvetest repository. You can test with:

# wget http://download1.proxmox.com/debian/dists/wheezy/pvetest/binary-amd64/qemu-server_3.3-4_amd64.deb
# dpkg -i qemu-server_3.3-4_amd64.deb

My node is actual, I used upgrade check from web management, and there are no upgrades for my system at all and even install images from your website points to PVE version I have installed on my node (3.3-1). It is not the actual version?

Anyway, I tried the package you provided me and it worked like charm! Thank you very much! It saved me from many issues. I have last question when this package will be available hrough your debian repo to make it available to all users ?
 
Saya juga mengalami masalah seperti ini tapi di proxmox 5.x terbaru adakah solusi ..? Saya bingung saat ini, saya perlu membuka port 3.4,5