vm-migration: add helper to iterate over bitmaps

Instead of using ad-hoc code, just write an extension to the Iterator
trait that we can easily unit test.

Co-authored-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP julian.stecklina@sap.com
On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Julian Stecklina
2025-11-07 14:51:23 +01:00
committed by Rob Bradford
parent 6147c4c8b7
commit 96f4e33897
2 changed files with 96 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ use thiserror::Error;
use crate::protocol::MemoryRangeTable;
mod bitpos_iterator;
pub mod protocol;
#[derive(Error, Debug)]