mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
The 'generate_ram_ranges' function currently hardcodes the assumption that there are only 2 E820 RAM entries. This is not flexible enough to handle vendor specific memory holes. Returning a Vec is also more convenient for users of this function. Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com>