Skip to content

Commit dbdf050

Browse files
committed
CNV-47442: Updated mediated devices example
1 parent e2bb931 commit dbdf050

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

modules/virt-options-configuring-mdevs.adoc

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
enabled: true
4141
defaultWorkload: vm-vgpu
4242
driver:
43-
enabled: false <1>
43+
enabled: false
4444
dcgmExporter: {}
4545
dcgm:
4646
enabled: true
@@ -61,23 +61,22 @@ spec:
6161
- name: WITH_WORKLOAD
6262
value: "true"
6363
vgpuManager:
64-
enabled: true <2>
65-
repository: <vgpu_container_registry> <3>
64+
enabled: true
65+
repository: <vgpu_container_registry>
6666
image: <vgpu_image_name>
67-
version: nvidia-vgpu-manager
67+
version: <nvidia_vgpu_manager_version>
6868
vgpuDeviceManager:
69-
enabled: false <4>
70-
config:
71-
name: vgpu-devices-config
72-
default: default
69+
enabled: false
7370
sandboxDevicePlugin:
74-
enabled: false <5>
71+
enabled: false
7572
vfioManager:
76-
enabled: false <6>
73+
enabled: false
7774
----
78-
<1> Set this value to `false`. Not required for VMs.
79-
<2> Set this value to `true`. Required for using vGPUs with VMs.
80-
<3> Substitute `<vgpu_container_registry>` with your registry value.
81-
<4> Set this value to `false` to allow {VirtProductName} to configure mediated devices instead of the NVIDIA GPU Operator.
82-
<5> Set this value to `false` to prevent discovery and advertising of the vGPU devices to the kubelet.
83-
<6> Set this value to `false` to prevent loading the `vfio-pci` driver. Instead, follow the {VirtProductName} documentation to configure PCI passthrough.
75+
+
76+
** `spec.drive.enabled` is set to `false`. This is not required for VMs.
77+
** `spec.vgpuManager.enabled` is set to `true`. This is required if you want to use vGPUs with VMs.
78+
** `spec.vgpuManager.repository` is set to your registry value.
79+
** `spec.vgpuManager.version` is set to the version of the vGPU driver you have downloaded from the NVIDIA website and used to build the image.
80+
** `spec.vgpuDeviceManager.enabled` is set to `false` to allow {VirtProductName} to configure mediated devices instead of the NVIDIA GPU Operator.
81+
** `spec.sandboxDevicePlugin.enabled` is set to `false` to prevent discovery and advertising of the vGPU devices to the kubelet.
82+
** `spec.vfioManager.enabled` is set to `false` to prevent loading the `vfio-pci` driver. Instead, follow the {VirtProductName} documentation to configure PCI passthrough.

virt/managing_vms/advanced_vm_management/virt-configuring-virtual-gpus.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2+
include::_attributes/common-attributes.adoc[]
23
[id="virt-configuring-virtual-gpus"]
34
= Configuring virtual GPUs
4-
include::_attributes/common-attributes.adoc[]
55
:context: virt-configuring-virtual-gpus
66

77
toc::[]
88

9+
[role="_abstract"]
910
If you have graphics processing unit (GPU) cards, {VirtProductName} can automatically create virtual GPUs (vGPUs) that you can assign to virtual machines (VMs).
1011

1112
include::modules/virt-about-using-virtual-gpus.adoc[leveloffset=+1]
@@ -60,4 +61,4 @@ include::modules/virt-assigning-vgpu-vm-web.adoc[leveloffset=+2]
6061
[role="_additional-resources"]
6162
[id="additional-resources_{context}"]
6263
== Additional resources
63-
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-troubleshooting-enabling_intel_vt_x_and_amd_v_virtualization_hardware_extensions_in_bios[Enabling Intel VT-X and AMD-V Virtualization Hardware Extensions in BIOS]
64+
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-troubleshooting-enabling_intel_vt_x_and_amd_v_virtualization_hardware_extensions_in_bios[Enabling Intel VT-X and AMD-V Virtualization Hardware Extensions in BIOS]

0 commit comments

Comments
 (0)