mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
45c4d1a06e
UEFI need to be loaded to a flash area at the beginning of guest memory address space. To simulate the flash, we take a piece of RAM and hide it to the guest. As this is a temporary solution, the hiden RAM for UEFI should be as little as possible. The size was 64 MiB, that's too much, 4 MiB is enough. The down side of such simulation is that there is a gap (4 MiB) between the memory size in VMM's view and that in guest's view. This is to be fixed by implementing a flash device in future. Signed-off-by: Michael Zhao <michael.zhao@arm.com>