|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * virt/virtual_machines/advanced_vm_management/virt-configuring-vgpu-passthrough.adoc |
| 4 | + |
| 5 | +[id="virt-assign-vgpu-passthrough-to-vm_{context}"] |
| 6 | += Assigning vGPU passthrough to virtual machines |
| 7 | + |
| 8 | +Use the {product-title} web console to assign vGPU devices to your virtual machines. |
| 9 | + |
| 10 | +.Prerequisites |
| 11 | + |
| 12 | +* Ensure your cluster and virtual machines are deployed in a bare metal environment. At this time, no other environments are supported. |
| 13 | + |
| 14 | +.Procedure |
| 15 | + |
| 16 | +. Assign a virtual GPU device to your virtual machine: |
| 17 | +.. In the {product-title} web console, click *Virtualization -> Virtual Machines* from the side menu. |
| 18 | +.. Select the virtual machine to which you want to assign the device. |
| 19 | +.. Click the *Details* tab: |
| 20 | +* The *Hardware Devices* field includes links to add or remove *GPU devices* and *Host devices*. |
| 21 | +* Assigning a vGPU using *GPU devices* enables VNC console access for the attached virtual GPU. Assigning a vGPU using *Host Devices* does not enable VNC console access. |
| 22 | +* Use the minus icon to remove an existing hardware device. |
| 23 | +* You can only add or remove devices from your virtual machine when it is stopped. |
| 24 | +.. Click the pencil icon and use the pop-up windows to add or remove devices, selecting the appropriate hardware resource names. |
| 25 | +.. Click *Save*. |
| 26 | +. Click the *YAML* tab to verify that the new devices have been added to your cluster configuration in the `hostDevices` section. |
| 27 | + |
| 28 | +[NOTE] |
| 29 | +==== |
| 30 | +You can add hardware devices to virtual machines using the {product-title} web console when you create a virtual machine or create a virtual machine using a template that you customize. You cannot add devices to pre-supplied boot source templates for specific operating systems, such as Windows 10 or RHEL 7. |
| 31 | +
|
| 32 | +To add or remove hardware devices to a custom template that you create, click the *Advanced* tab in the Create Virtual Machine wizard and click *Hardware devices*. Use the minus icon to remove an existing hardware device. You can only add or remove devices from your virtual machine when it is stopped. |
| 33 | +
|
| 34 | +To display resources that are connected to your cluster, click *Compute -> Hardware Devices* from the side menu. |
| 35 | +==== |
0 commit comments