Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit RAM+VRAM to avoid exceeding IPA addressing
Automatically adjust VRAM so VRAM+RAM doesn't exceed the space available in a 36 bit IPA, accounting for the start address and rounding in libkrun, which sets an upper limit of ~62GiB. Also, reject a memory configuration larger than 60 GiB to ensure we leave some room for VRAM. Fixes: #17 Signed-off-by: Sergio Lopez <[email protected]>
- Loading branch information