The snapshot/restore (also live migration) support only work for ivshmem-plain mode. Additional work is needed for supporting ivshmem-doorbell.
(&mut self)
| 405 | // The snapshot/restore (also live migration) support only work for ivshmem-plain mode. |
| 406 | // Additional work is needed for supporting ivshmem-doorbell. |
| 407 | fn snapshot(&mut self) -> std::result::Result<Snapshot, MigratableError> { |
| 408 | let mut snapshot = Snapshot::new_from_state(&self.state())?; |
| 409 | |
| 410 | // Snapshot PciConfiguration |
| 411 | snapshot.add_snapshot(self.configuration.id(), self.configuration.snapshot()?); |
| 412 | |
| 413 | Ok(snapshot) |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | impl Transportable for IvshmemDevice {} |
nothing calls this directly
no test coverage detected