You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/virt-options-configuring-mdevs.adoc
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ spec:
40
40
enabled: true
41
41
defaultWorkload: vm-vgpu
42
42
driver:
43
-
enabled: false <1>
43
+
enabled: false
44
44
dcgmExporter: {}
45
45
dcgm:
46
46
enabled: true
@@ -61,23 +61,22 @@ spec:
61
61
- name: WITH_WORKLOAD
62
62
value: "true"
63
63
vgpuManager:
64
-
enabled: true <2>
65
-
repository: <vgpu_container_registry> <3>
64
+
enabled: true
65
+
repository: <vgpu_container_registry>
66
66
image: <vgpu_image_name>
67
-
version: nvidia-vgpu-manager
67
+
version: <nvidia_vgpu_manager_version>
68
68
vgpuDeviceManager:
69
-
enabled: false <4>
70
-
config:
71
-
name: vgpu-devices-config
72
-
default: default
69
+
enabled: false
73
70
sandboxDevicePlugin:
74
-
enabled: false <5>
71
+
enabled: false
75
72
vfioManager:
76
-
enabled: false <6>
73
+
enabled: false
77
74
----
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.
Copy file name to clipboardExpand all lines: virt/managing_vms/advanced_vm_management/virt-configuring-virtual-gpus.adoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
:_mod-docs-content-type: ASSEMBLY
2
+
include::_attributes/common-attributes.adoc[]
2
3
[id="virt-configuring-virtual-gpus"]
3
4
= Configuring virtual GPUs
4
-
include::_attributes/common-attributes.adoc[]
5
5
:context: virt-configuring-virtual-gpus
6
6
7
7
toc::[]
8
8
9
+
[role="_abstract"]
9
10
If you have graphics processing unit (GPU) cards, {VirtProductName} can automatically create virtual GPUs (vGPUs) that you can assign to virtual machines (VMs).
0 commit comments