mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: Stop deriving unnecessary traits
These structs only need to derive Versionize now. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
6e6f66de2e
commit
bd724fc304
@@ -366,7 +366,7 @@ pub struct Block {
|
||||
rate_limiter_config: Option<RateLimiterConfig>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Versionize)]
|
||||
#[derive(Versionize)]
|
||||
pub struct BlockState {
|
||||
pub disk_path: String,
|
||||
pub disk_nsectors: u64,
|
||||
|
||||
Reference in New Issue
Block a user