summarylogtreecommitdiffstats
path: root/ba66a6c.patch
blob: 5fcab9b19e81afc2b79e8f2e7fcaeeec480701d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/lib.rs b/src/lib.rs
index eddb72d..6e1ffad 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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);