mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 05:28:21 +02:00
lib: fix profile override to not require the custom deserialization fields
This commit is contained in:
parent
cf56585fbb
commit
4db1644c09
@ -196,11 +196,11 @@ struct VgpuProfileOverride<'a> {
|
||||
multi_vgpu_supported: Option<u32>,
|
||||
pci_id: Option<u64>,
|
||||
pci_device_id: Option<u64>,
|
||||
#[serde(with = "human_number")]
|
||||
#[serde(default, with = "human_number")]
|
||||
framebuffer: Option<u64>,
|
||||
#[serde(with = "human_number")]
|
||||
#[serde(default, with = "human_number")]
|
||||
mappable_video_size: Option<u64>,
|
||||
#[serde(with = "human_number")]
|
||||
#[serde(default, with = "human_number")]
|
||||
framebuffer_reservation: Option<u64>,
|
||||
encoder_capacity: Option<u64>,
|
||||
bar1_length: Option<u64>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user