all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pve-vgpu-helper] add 'nova' and 'nova_core' to the modules blacklist
@ 2026-04-07 11:59 Dominik Csapak
  2026-04-07 13:25 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-04-07 11:59 UTC (permalink / raw)
  To: pve-devel

in newer kernels (such as 7.0), nova gets automatically loaded for some
nvidia gpus. Since this is incompatible with the vGPU host driver, also
blacklist those on the setup step.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
i also thought about adding a second parameter for nova, or renaming it
to better fit (e.g. --no-block-intree-drivers) but left it as is, so
that possible script that execute it won't be tripped up.

If wanted i can of course rename it.

 src/pve-nvidia-vgpu-helper | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/pve-nvidia-vgpu-helper b/src/pve-nvidia-vgpu-helper
index 1102f3d..4cd6170 100755
--- a/src/pve-nvidia-vgpu-helper
+++ b/src/pve-nvidia-vgpu-helper
@@ -29,7 +29,8 @@ my sub print_usage_and_exit {
 USAGE:   pve-nvidia-vgpu-helper [OPTIONS]
  Commands:
     setup                 Install dependencies and ensure the node is ready for using NVIDIA vGPU.
-      --no-block-nouveau  Do not add modprobe.d config entry to block loading the 'nouveau' module.
+      --no-block-nouveau  Do not add modprobe.d config entry to block loading the 'nouveau' and
+                          'nova' module.
 
  General Options:
     --help                This output.
@@ -64,13 +65,19 @@ my sub apt_install {
 
 ## Commands
 
+my $block_nouveau_nova = <<EOF;
+blacklist nouveau
+blacklist nova
+blacklist nova_core
+EOF
+
 my sub do_setup {
     if ($no_block_nouveau) {
-	print "Skipping creation of modprobe.d config to block 'nouveau' module as requested\n";
+	print "Skipping creation of modprobe.d config to block 'nouveau' and 'nova' modules as requested\n";
     } elsif (! -e "/etc/modprobe.d/block-nouveau.conf") {
-	print "Adding modprobe config to block loading of the 'nouveau' module.\n";
+	print "Adding modprobe config to block loading of the 'nouveau' and 'nova' module.\n";
 	mkdir('/etc/modprobe.d') or $!{EEXIST} or die "failed to create '/etc/modprobe.d' - $!\n";
-	PVE::SysFSTools::file_write("/etc/modprobe.d/block-nouveau.conf", "blacklist nouveau\n")
+	PVE::SysFSTools::file_write("/etc/modprobe.d/block-nouveau.conf", $block_nouveau_nova)
 	  || die "failed to create block-nouveau.conf - $!\n";
 	syslog('info', "Added modprobe config to block loading of the 'nouveau' module.");
 
-- 
2.47.3





^ permalink raw reply	[flat|nested] 2+ messages in thread

* applied: [PATCH pve-vgpu-helper] add 'nova' and 'nova_core' to the modules blacklist
  2026-04-07 11:59 [PATCH pve-vgpu-helper] add 'nova' and 'nova_core' to the modules blacklist Dominik Csapak
@ 2026-04-07 13:25 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-04-07 13:25 UTC (permalink / raw)
  To: pve-devel, Dominik Csapak

On Tue, 07 Apr 2026 13:59:22 +0200, Dominik Csapak wrote:
> in newer kernels (such as 7.0), nova gets automatically loaded for some
> nvidia gpus. Since this is incompatible with the vGPU host driver, also
> blacklist those on the setup step.
> 
> 

Applied, thanks!

[1/1] add 'nova' and 'nova_core' to the modules blacklist
      commit: 6301212c71c9759bd2ba379c4d4d084b9cd996aa




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-07 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-07 11:59 [PATCH pve-vgpu-helper] add 'nova' and 'nova_core' to the modules blacklist Dominik Csapak
2026-04-07 13:25 ` applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal