VMware

VMware Workstation 5.5

Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Connecting an Application on the Host to a Virtual Machine

You can set up the virtual serial port in a virtual machine to connect to an application on the host computer. 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.

To install a direct serial connection between an application on the host and a virtual machine, take the following steps:

Windows Host

1. Open the virtual machine settings editor (VM > Settings).

2. Click Add to start the Add Hardware Wizard.

3. Select Serial Port, then click Next.

Link to w_new_serial3.png

4. Select Output to named pipe, then click Next.

Link to w_new_serial3a.png

5. Use the default pipe name, or enter another pipe name of your choice. The pipe name must follow the form \\.\pipe\<namedpipe> — that is, it must begin with \\.\pipe\.

6. Select This end is the server or This end is the client. In general, select This end is the server if you plan to start this end of the connection first.

7. Select The other end is an application.

8. By default, the device status setting is Connect at power on. You may deselect this setting if you wish.

Click Advanced if you want to configure this serial port to use polled mode. This option is of interest primarily to developers who are using debugging tools that communicate over a serial connection. For more information, see Special Configuration Options for Advanced Users.

9. Click Finish, then click OK to close the virtual machine settings editor.

10. On your host computer, configure the application that communicates with the virtual machine to use the same pipe name.

11. Power on the virtual machine.

Linux Host

1. Open the virtual machine settings editor (VM > Settings).

2. Click Add to start the Add Hardware Wizard.

3. Select Serial Port, then click Next.

4. Select Output to named pipe, then click Next.

5. In the Path field, enter /tmp/<socket> or another Unix socket name of your choice.

6. Select This end is the server or This end is the client. In general, select This end is the server if you plan to start this end of the connection first.

7. Select The other end is an application.

8. By default, the device status setting is Connect at power on. You may deselect this setting if you wish.

Click Advanced if you want to configure this serial port to use polled mode. This option is of interest primarily to developers who are using debugging tools that communicate over a serial connection. For more information, see Special Configuration Options for Advanced Users.

9. Click Finish.

10. Click OK to save your configuration and close the virtual machine settings editor.

11. On your host computer, configure the application that communicates with the virtual machine to use the same Unix socket name.

12. Power on the virtual machine.

previous Prev   Contents   Last   Next next