To configure a RHEL 6.6 virtual machine to use vDGA, you must add the PCI device to the virtual machine. With this step, the physical device on the ESXi host can be passed through for use on the virtual machine.
Verify that the Linux virtual machine is prepared for use as a desktop. See Create a Virtual Machine and Install Linux and Prepare a Linux Machine for Remote Desktop Deployment.
Verify that View Agent is not installed on the Linux virtual machine.
Verify that the NVIDIA GRID GPU PCI device was made available for DirectPath I/O pass-through on the host. See Enable DirectPath I/O for NVIDIA GRID GPUs on a Host.
- Power off the virtual machine. and log in to the RHEL 6.6 guest operating system as a local user configured with sudo rights.
- In vSphere Web Client, select the virtual machine and, under the VM Hardware tab, click Edit Settings.
- In the New device menu, select PCI Device.
- Click Add and select the PCI device from the drop-down menu.
- Click Reserve all memory and click OK.
You must reserve all virtual machine memory to enable the GPU to support vDGA.
- Power on the virtual machine and open vSphere console to connect to the machine.
- Verify that the NVIDIA GRID device is passed through to the virtual machine.
Open a terminal window and run the following command:
lspci | grep NVIDIA
The XX:00.0 VGA-compatible controller is displayed. For example:
NVIDIA Corporation GK104GL [GRID K2]