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

Method empty_finalized

vm-migration/src/context.rs:292–296  ·  view source on GitHub ↗

Returns an empty finalized block. This can be used if no memory was transferred (e.g., local migration).

()

Source from the content-addressed store, hash-verified

290 ///
291 /// This can be used if no memory was transferred (e.g., local migration).
292 pub fn empty_finalized() -> Self {
293 let mut this = Self::new();
294 this.finalize();
295 this
296 }
297
298 /// Updates the metrics right before the transfer over the wire.
299 ///

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
finalizeMethod · 0.80

Tested by

no test coverage detected