Parallels Workstation allows up to four serial ports to be connected to a virtual machine.
Serial Port Options in Windows primary OS:
Device status:
Note: If you start the operating system with the serial port disabled, it can not be connected/disconnected while the VM is running.
Emulation:
Parallels Workstation suggests three methods of serial port emulation:
These methods are described below:
Note: In Linux primary OS to be able to connect virtual machine serial port to a real serial port, you should have system privileges to access the real device. Otherwise the real serial port will not appear in the list of available devices despite it is installed on your computer.
\\.\pipe\
, i.e. it should be in the form \\.\pipe\<name>
. If a name doesn't conform to this rule, you will get the error message: "Serial <number>: unable to connect. Cannot open '<pipe name>'
" when the virtual machine is started.In the second field select a role at this end of the pipe.
Linux primary OS. If you have selected Use socket, the Socket Name field appears containing a default socket name. Use it or type a new name that should subject to the following rules. The name should begin with /tmp/
, i.e. it should be in the form /tmp/<socket>
. If a name doesn't subject to the rule, then after virtual machine is started you will get the error message: "Com Port <number>: Unable to open <port name> device
".
In the second field select a role at this end of the socket.