File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ vgpu_driver_dkms: false
55vgpu_do_reboot : true
66vgpu_reboot_timeout : 3600
77
8+ # Time in seconds to sleep before enabling sriov on
9+ vgpu_sriov_init_delay : 30
10+
811# Deprecated: use vgpu_definitions instead.
912vgpu_mig_definitions : []
1013vgpu_definitions : " {{ vgpu_mig_definitions }}"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ User=root
1313# NOTE(wszumski): There is a race in the driver initialization where if we run
1414# this too early, then the mdev_support_devices entry doesn't show up in sysfs.
1515# I was unable to get this to show up again without a reboot.
16- ExecStartPre=/bin/sleep 30
16+ ExecStartPre=/bin/sleep {{ vgpu_sriov_init_delay }}
1717# NOTE(wszumski): The sriov-manage script will unbind the nvidia driver to
1818# initialize the virtual functions. If it fails part way through, the driver
1919# can be left unbound, and subsequent executions of sriov-mange will fail. This
You can’t perform that action at this time.
0 commit comments