mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2026-01-17 11:57:00 +01:00
lib: do not take mdev UUID as 17.x may get the vGPU info multiple times
- See #37
This commit is contained in:
@@ -539,7 +539,7 @@ fn handle_profile_override<C: VgpuConfigLike>(config: &mut C) -> bool {
|
||||
};
|
||||
|
||||
let vgpu_type = format!("nvidia-{}", config.vgpu_type());
|
||||
let mdev_uuid = LAST_MDEV_UUID.lock().take();
|
||||
let mdev_uuid = LAST_MDEV_UUID.lock().clone();
|
||||
|
||||
if let Some(config_override) = config_overrides.profile.get(vgpu_type.as_str()) {
|
||||
info!("Applying profile {} overrides", vgpu_type);
|
||||
|
||||
Reference in New Issue
Block a user