mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2026-01-17 20:07:00 +01:00
lib: fix profile override to not require the custom deserialization fields
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user