Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stage2: Prefer using IGVM memory map to place SVSM kernel
If the IGVM memory map contains a PARAVISOR_RESERVED entry, then place the SVSM kernel at that region instead of the region specified in the IgvmParamBlock. If no such entry exists in the memory map, then continue using the IgvmParamBlock. This allows the hypervisor to dynamically resize the SVSM based on the machine shape without changing the IgvmParamBlock and thus the launch measurement. This is necessary because the SVSM uses more memory when there are more vCPUs (and, in the future, guest memory). Signed-off-by: Adam Dunlap <[email protected]>
- Loading branch information