mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 13:28:23 +02:00
lib: fix requirement to specify dummy mdev field or dummy profile field
This commit is contained in:
parent
9164fa73d9
commit
8bb4f47c9b
@ -168,9 +168,9 @@ struct VgpuConfig {
|
||||
|
||||
#[derive(Deserialize)]
|
||||
struct ProfileOverridesConfig<'a> {
|
||||
#[serde(borrow)]
|
||||
#[serde(borrow, default)]
|
||||
profile: HashMap<&'a str, VgpuProfileOverride<'a>>,
|
||||
#[serde(borrow)]
|
||||
#[serde(borrow, default)]
|
||||
mdev: HashMap<&'a str, VgpuProfileOverride<'a>>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user