mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Turn reserve=on for the hugepage-backed memory zone in the UFFD snapshot/restore integration test. Hugepages are the most likely place to want reserve (an over-committed huge page pool is exactly the case that otherwise SIGBUSes the guest), so this is the natural test to give the option real coverage, as suggested in review. It exercises the reserve mmap path twice: once on the source VM boot and once on the demand-paged restore. The existing skip guard already requires the 256 free 2MiB pages this zone needs, and the source VM is killed before the restore VM is started, so reserving from the pool never has to back two VMs at once. Assisted-by: Claude Code (Opus 4.8) Signed-off-by: Ian Klemm <hi@ianklemm.de>