You can add a named pipe serial port for connecting a virtual machine to an application or to another virtual machine that is running on the host system.

1

In the Inventory panel, select the virtual machine to modify.

2

In the Commands section of the Summary tab, click Add Hardware.

The Add Hardware wizard opens.

3

Click Serial Port.

4

Click Use Named Pipe.

5

On the Properties page, enter the path and filename for the pipe.

On Windows guests: The pipe name must be in the format \\.\pipe\namedpipe.

On Linux guests: The pipe name must be in the format /tmp/socket or another UNIX socket name.

6

For Near End, select whether the application running in the guest operating system functions as a server or a client.

Select Is a server to start this end of the connection first.

Select Is a client to start the far end of the connection first.

7

For Far End, specify where the application that the virtual machine connects to is located.

Select Is a virtual machine if the application that the virtual machine connects to is located on another virtual machine on the host.

Select Is an application if the application that the virtual machine connects to is running directly on the host machine.

8

(Optional) To connect to the named pipe when the virtual machine is powered on, select Connect at Power On (the default).

9

(Optional) Expand I/O Mode to select Yield CPU on poll, which is deselected by default.

The kernel in the target virtual machine uses the virtual serial port in polled mode, not interrupt mode.

This option applies to Windows hosts only.

10

Click Next.

11

In the Ready to Complete page, review the configuration summary and click Finish.

The operating system recognizes the new serial port the next time you power on the virtual machine.