summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_mdev.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create_mdev.sh b/scripts/create_mdev.sh
index a6ea91e..4f1cc1c 100755
--- a/scripts/create_mdev.sh
+++ b/scripts/create_mdev.sh
@@ -5,10 +5,10 @@
set -euo pipefail
PCI_ADDR="${1:-}"
-VGPU_TYPE="${2:-pci-nvidia-vgpu-turing}"
+VGPU_TYPE="${2:-nvidia-nvidia-vgpu-turing}"
-# Supported vGPU types (matching the mdev type names)
-VALID_TYPES=("pci-nvidia-vgpu-ampere" "pci-nvidia-vgpu-hopper" "pci-nvidia-vgpu-turing" "pci-nvidia-vgpu-pascal")
+# Supported vGPU types (matching the mdev type names the driver registers)
+VALID_TYPES=("nvidia-nvidia-vgpu-ampere" "nvidia-nvidia-vgpu-hopper" "nvidia-nvidia-vgpu-turing" "nvidia-nvidia-vgpu-pascal")
# Find NVIDIA GPU if not specified
if [[ -z "$PCI_ADDR" ]]; then