}
}
+sub check_nvidia_vgpu_service {
+ log_info("Checking for existance of NVIDIA vGPU Manager..");
+
+ my $state = $get_systemd_unit_state->("nvidia-vgpu-mgr.service");
+ if ($state && $state eq 'active') {
+ log_fail(
+ "Running NVIDIA vGPU Service found, possibly not compatible with newer kernel versions,"
+ ." check with their documentation and"
+ ." https://pve.proxmox.com/wiki/Upgrade_from_7_to_8#Known_upgrade_issues."
+ );
+ } elsif ($state && $state ne 'unknown') {
+ log_warn(
+ "NVIDIA vGPU Service found, possibly not compatible with newer kernel versions,"
+ ." check with their documentation and"
+ ." https://pve.proxmox.com/wiki/Upgrade_from_7_to_8#Known_upgrade_issues."
+ );
+ } else {
+ log_pass("No NVIDIA vGPU Service found.");
+ }
+}
+
sub check_time_sync {
my $unit_active = sub { return $get_systemd_unit_state->($_[0], 1) eq 'active' ? $_[0] : undef };
check_lxcfs_fuse_version();
check_node_and_guest_configurations();
check_apt_repos();
+ check_nvidia_vgpu_service();
}
my sub colored_if {