mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
As huge pages are always MAP_SHARED then where the shared memory would be checked (for vhost-user and local migration) we can also check instead for huge pages. The checking is also extended to cover the memory zones based configuration as well. Signed-off-by: Rob Bradford <robert.bradford@intel.com>