vSphere DirectPath I/O allows a guest operating system on a virtual machine to directly access physical PCI and PCIe devices connected to a host. This action gives you direct access to devices such as high-performance graphics or sound cards. You can connect each virtual machine to up to six PCI devices.
You configure PCI devices on the host to make them available for passthrough to a virtual machine. See the vSphere Networking documentation. However, PCI passthroughs should not be enabled for ESXi hosts that are configured to boot from USB devices.
When PCI vSphere DirectPath I/O devices are available to a virtual machine, you cannot suspend, migrate with vMotion, or take or restore Snapshots of such virtual machines.
Prerequisites
- To use DirectPath, verify that the host has Intel Virtualization Technology for Directed I/O (VT-d) or AMD I/O Virtualization Technology (IOMMU) enabled in the BIOS.
- Verify that the PCI devices are connected to the host and marked as available for passthrough. Deactivate the USB controller for passthrough if your ESXi host is configured to boot from a USB device, or if the active coredump partition is configured to be on a USB device or SD cards connected through USB channels. VMware does not support USB controller passthrough for ESXi hosts that boot from USB devices or SD cards connected through USB channels or if the active coredump partition is configured to be on a USB device or SD card connected through USB channels. For more information, see http://kb.vmware.com/kb/1021345.
- Verify that the virtual machine is compatible with ESXi 4.x and later.
Procedure
- Right-click a virtual machine in the inventory and select Edit Settings.
- On the Virtual Hardware tab, add a new PCI device.
Client Steps vSphere Client Click the Add New Device button and select PCI Device from the drop-down menu. vSphere Web Client - Select PCI Device from the New device drop-down menu at the bottom of the wizard.
- Click Add.
- Expand New PCI device and select the passthrough device to connect to the virtual machine from the drop-down list and click Next.
- Click OK.