(&self)
| 1447 | |
| 1448 | impl Snapshottable for VfioCommon { |
| 1449 | fn id(&self) -> String { |
| 1450 | String::from(VFIO_COMMON_ID) |
| 1451 | } |
| 1452 | |
| 1453 | fn snapshot(&mut self) -> std::result::Result<Snapshot, MigratableError> { |
| 1454 | let mut vfio_common_snapshot = Snapshot::new_from_state(&self.state())?; |