mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 18:45:19 +00:00
ce7db3f7c3
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>