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

Method id

vmm/src/vm.rs:3321–3323  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3319pub const VM_SNAPSHOT_ID: &str = "vm";
3320impl Snapshottable for Vm {
3321 fn id(&self) -> String {
3322 VM_SNAPSHOT_ID.to_string()
3323 }
3324
3325 fn snapshot(&mut self) -> std::result::Result<Snapshot, MigratableError> {
3326 event!("vm", "snapshotting");

Calls

no outgoing calls