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

Function make_table

vm-migration/src/context.rs:532–541  ·  view source on GitHub ↗
(bytes: u64)

Source from the content-addressed store, hash-verified

530 use crate::protocol::MemoryRange;
531
532 fn make_table(bytes: u64) -> MemoryRangeTable {
533 let mut table = MemoryRangeTable::default();
534 if bytes > 0 {
535 table.push(MemoryRange {
536 gpa: 0,
537 length: bytes,
538 });
539 }
540 table
541 }
542
543 /// A controlled migration scenario with fixed timing offsets.
544 ///

Calls 1

pushMethod · 0.45