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:
Rob Bradford
2021-05-11 14:02:43 +00:00
committed by Sebastien Boeuf
parent 6e6f66de2e
commit bd724fc304
8 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -693,7 +693,7 @@ impl EpollHelperHandler for IommuEpollHandler {
}
}
#[derive(Clone, Copy, Serialize, Deserialize, Versionize)]
#[derive(Clone, Copy, Versionize)]
struct Mapping {
gpa: u64,
size: u64,
@@ -741,7 +741,7 @@ pub struct Iommu {
seccomp_action: SeccompAction,
}
#[derive(Serialize, Deserialize, Versionize)]
#[derive(Versionize)]
struct IommuState {
avail_features: u64,
acked_features: u64,