6.10. Host Devices
6.10.1. Adding a Host Device to a Virtual Machine
Virtual machines can be directly attached to the host devices for improved performance if a compatible host has been configured for direct device assignment. Host devices are devices that are physically plugged into the host, including SCSI (for example tapes, disks, changers), PCI (for example NICs, GPUs, and HBAs), and USB (for example mice, cameras, and disks).
Adding Host Devices to a Virtual Machine
- Click → .
- Click a virtual machine’s name to go to the details view.
Click the Host Devices tab to list the host devices already attached to this virtual machine.
A virtual machine can only have devices attached from the same host. If a virtual machine has attached devices from one host, and you attach a device from another host, the attached devices from the previous host will be automatically removed.
Attaching host devices to a virtual machine requires the virtual machine to be in a
Downstate. If the virtual machine is running, the changes will not take effect until after the virtual machine has been shut down.
- Click Add Host Devices window. to open the
- Use the Pinned Host drop-down menu to select a host.
Use the Capability drop-down menu to list the
- Select the check boxes of the devices to attach to the virtual machine from the Available Host Devices pane and click the directional arrow button to transfer these devices to the Host Devices to be attached pane, creating a list of the devices to attach to the virtual machine.
- When you have transferred all desired host devices to the Host Devices to be attached pane, click to attach these devices to the virtual machine and close the window.
These host devices will be attached to the virtual machine when the virtual machine is next powered on.
6.10.2. Removing Host Devices from a Virtual Machine
Remove a host device from a virtual machine to which it has been directly attached.
If you are removing all host devices directly attached to the virtual machine in order to add devices from a different host, you can instead add the devices from the desired host, which will automatically remove all of the devices already attached to the virtual machine.
Removing a Host Device from a Virtual Machine
- Go to → and select a virtual machine.
- Click the virtual machine’s name to go to the details view.
- Click the Host Devices tab to list the host devices attached to the virtual machine.
Select the host device to detach from the virtual machine, or hold
Ctrlto select multiple devices, and click to open the Remove Host Device(s) window.
- Click to confirm and detach these devices from the virtual machine.
6.10.3. Pinning a Virtual Machine to Another Host
You can use the Host Devices tab in the details view of a virtual machine to pin it to a specific host.
If the virtual machine has any host devices attached to it, pinning it to another host will automatically remove the host devices from the virtual machine.
Pinning a Virtual Machine to a Host
- Click a virtual machine name and click the Host Devices tab.
- Click Pin to another host to open the Pin VM to Host window.
- Use the Host drop-down menu to select a host.
- Click to pin the virtual machine to the selected host.