vm-allocator: introduce bitmap-backed InterruptAllocator

This introduces a bitmap-backed interrupt number allocator. The type is
not yet used but will be in the next commit and enable graceful
releasing of allocated interrupt numbers (GSIs).

Co-authored-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
On-behalf-of: SAP sebastian.eydam@sap.com
Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>

On-behalf-of: Philipp Schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-05-07 14:19:36 +02:00
committed by Rob Bradford
parent 90859452ab
commit 7c4fa04ea3
3 changed files with 246 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -2526,6 +2526,7 @@ version = "0.1.0"
dependencies = [
"arch",
"libc",
"thiserror",
"vm-memory",
]