vm-migration: better naming + unittests

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-11-12 11:18:35 +01:00
committed by Rob Bradford
parent b6c266c880
commit a7fa3a0c86
4 changed files with 56 additions and 18 deletions

View File

@@ -2605,7 +2605,7 @@ impl Migratable for MemoryManager {
.zip(vmm_dirty_bitmap.iter())
.map(|(x, y)| x | y);
let sub_table = MemoryRangeTable::from_bitmap(dirty_bitmap, r.gpa, 4096);
let sub_table = MemoryRangeTable::from_dirty_bitmap(dirty_bitmap, r.gpa, 4096);
if sub_table.regions().is_empty() {
info!("Dirty Memory Range Table is empty");