Skip to content

Commit 2f2ce6b

Browse files
author
Bob Gaydos
committed
CNV-2896 Configuring vGPU passthrough in the UI
1 parent e6fc2f6 commit 2f2ce6b

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3042,6 +3042,8 @@ Topics:
30423042
File: virt-schedule-vms
30433043
- Name: Configuring PCI passthrough
30443044
File: virt-configuring-pci-passthrough
3045+
- Name: Configuring vGPU passthrough
3046+
File: virt-configuring-vgpu-passthrough
30453047
- Name: Configuring a watchdog device
30463048
File: virt-configuring-a-watchdog
30473049
# Importing virtual machines
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
====
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[id="virt-configuring-vgpu-passthrough"]
2+
= Configuring vGPU passthrough
3+
include::modules/virt-document-attributes.adoc[]
4+
:context: virt-configuring-vgpu-passthrough
5+
6+
toc::[]
7+
8+
Your virtual machines can access a virtual GPU (vGPU) hardware. Assigning a vGPU to your virtual machine allows you do the following:
9+
10+
* Access a fraction of the underlying hardware's GPU to achieve high performance benefits in your virtual machine.
11+
12+
* Streamline resource-intensive I/O operations.
13+
14+
[IMPORTANT]
15+
====
16+
vGPU passthrough can only be assigned to devices that are connected to clusters running in a bare metal environment.
17+
====
18+
19+
include::modules/virt-assign-vgpu-passthrough-to-vm.adoc[leveloffset=+1]
20+
21+
[role="_additional-resources"]
22+
[id="additional-resources_virt-configuring-vgpu-passthrough"]
23+
== Additional resources
24+
* xref:../../../virt/virtual_machines/virt-create-vms.adoc#virt-create-vms[Creating virtual machines]
25+
* xref:../../../virt/vm_templates/virt-creating-vm-template.adoc#virt-creating-vm-template[Creating virtual machine templates]

0 commit comments

Comments
 (0)