Skip to content

device_manager: Keep SHM region order#235

Merged
slp merged 1 commit intocontainers:mainfrom
hoshinolina:shm-region-order
Oct 28, 2024
Merged

device_manager: Keep SHM region order#235
slp merged 1 commit intocontainers:mainfrom
hoshinolina:shm-region-order

Conversation

@hoshinolina
Copy link
Copy Markdown
Contributor

GuestMemoryMmap requires guest ranges to be sorted by start address, so use a BTreeMap instead of a HashMap to keep the order consistent.

GuestMemoryMmap requires guest ranges to be sorted by start address, so
use a BTreeMap instead of a HashMap to keep the order consistent.

Signed-off-by: Asahi Lina <lina@asahilina.net>
@slp slp merged commit d571fe8 into containers:main Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants