To install a direct serial connection between two virtual machines (a server and a client), take the following steps: This is useful, for example, if you want to use an application in one virtual machine to capture debugging information sent from the other virtual machine's serial port. You can set up the virtual serial ports in two virtual machines to connect to each other. On your host computer, configure the application that communicates with the virtual machine to use the same Unix socket name. In general, select Server if you plan to start this end of the connection first. In the Path field, enter /tmp/ or another Unix socket name of your choice. On your host computer, configure the application that communicates with the virtual machine to use the same pipe name.Ĭhoose a type of Pipe from the pull-down menu. In general, select This end is the server if you plan to start this end of the connection first. Select This end is the server or This end is the client. The pipe name must follow the form \\.\pipe\ - that is, it must begin with \\.\pipe\. Use the default pipe name, or enter another pipe name of your choice. To install a direct serial connection between an application on the host and a virtual machine, take the following steps: This is useful, for example, if you want to use an application on the host to capture debugging information sent from the virtual machine's serial port. You can set up the virtual serial port in a virtual machine to connect to an application on the host computer. In the Path field, enter the path to the file on the host computer that you want to use to store the output of the virtual serial port.Ĭonnecting an Application on the Host to a Virtual Machine Select Use output file and browse to the file on the host computer that you want to use to store the output of the virtual serial port.Ĭhoose a type of File from the pull-down menu. To install a virtual serial port that connects to a file on the host computer, take the following steps: This is useful, for example, if you want to capture the data a program running in the virtual machine sends to the virtual serial port or if you need a quick way to transfer a file from the guest to the host. You can set up the virtual serial port in a virtual machine to send its output to a file on the host computer. In the Path field, enter the path to the device you want to connect to the virtual serial port, for example, /dev/ttyS0 to use the first physical serial port on the host computer.Ĭlick OK to save your configuration and close the Configuration Editor. Select one of the virtual serial ports (COM1 through COM4).Ĭhoose a type of Device from the pull-down menu. Select Use Physical Serial Port, then choose the port on the host computer that you want to use for this serial connection.Ĭlick Finish, then click OK to close the Configuration Editor. Open the Configuration Editor ( Settings > Configuration Editor).Ĭlick Add to start the Add Hardware Wizard. To install a virtual serial port that connects to a physical serial port on the host computer, take the following steps: This is useful, for example, if you want to use an external modem or a hand-held device in your virtual machine.
You can set up the virtual serial port in a virtual machine to use a physical serial port on the host computer. Note: The serial port implementation is new in this release and deprecates the use of TTY type of virtual serial ports in a virtual machine.
You can also select whether to connect the virtual serial port when you power on the virtual machine. You can make a direct connection between two virtual machines or between a virtual machine and an application running on the host computer.You can connect a virtual serial port to a file on the host computer.You can connect a virtual serial port to a physical serial port on the host computer.The virtual serial ports can be configured in several ways. Usage Scenarios: Debugging Over a Virtual Serial PortĪ VMware Workstation virtual machine can use up to four virtual serial ports.Special Configuration Options for Advanced Users.Connecting an Application on the Host to a Virtual Machine.Using a Serial Port on the Host Computer.
#VMWARE FUSION 7 SERIAL PORT PIPE HOW TO#
The following sections describe how to use serial ports with VMware Workstation: Features | Documentation | Knowledge Base | Discussion Forums