You can use an external device in a virtual machine by adding a physical serial port to the machine.

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 Physical Serial Port.

5

On the Properties page, select a physical port from the drop-down menu.

6

(Optional) To connect this virtual machine to the host’s serial port when the virtual machine is powered on, select Connect at power on (the default).

7

(Optional) Expand I/O Mode to select Yield CPU on poll.

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

This option applies only to Windows hosts.

8

Click Next.

9

On 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.