MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / id

Method id

pci/src/vfio.rs:1449–1451  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1447
1448impl 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())?;

Callers 1

snapshotMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected