mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
KSM will not attempt to merge pages that are mapped as MAP_SHARED, so configuring memory with both mergeable and shared options is invalid. Add validation to reject configurations where both options are enabled for memory or memory zones. Signed-off-by: Rob Bradford <rbradford@meta.com>