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

Method make_ctx

vm-migration/src/context.rs:576–581  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

574 }
575
576 fn make_ctx(&self) -> MemoryMigrationContext {
577 let mut ctx = MemoryMigrationContext::new();
578 // Override migration_begin with our controlled value.
579 ctx.migration_begin = self.migration_begin;
580 ctx
581 }
582 }
583
584 #[test]

Calls 1

newFunction · 0.85