diff options
author | Xenia Ragiadakou | 2022-06-16 12:56:39 +0300 |
---|---|---|
committer | Stefano Stabellini | 2022-06-16 13:57:56 -0700 |
commit | 66b9bd9f5e20c168ebcad4b08ac29cf6a90b666d (patch) | |
tree | 563550c05c4f69fedce8f9b962a95acd3bd0ee89 /scripts/lop-xen.dts | |
parent | 8c7c2d0166c59754cd30e2e3ea6e21a3cb52762b (diff) |
uboot-script-gen: Add DOMU_STATIC_MEM
Add a new config parameter to configure a dom0less VM with static allocation.
DOMU_STATIC_MEM[number]="baseaddr1 size1 ... baseaddrN sizeN"
The parameter specifies the host physical address regions to be statically
allocated to the VM. Each region is defined by its start address and size.
For instance,
DOMU_STATIC_MEM[0]="0x30000000 0x10000000 0x50000000 0x20000000"
indicates that the host memory regions [0x30000000, 0x40000000) and
[0x50000000, 0x70000000) are statically allocated to the first dom0less VM.
Since currently it is not possible for a VM to have a mix of both statically
and non-statically allocated memory regions, when DOMU_STATIC_MEM is specified,
adjust VM's memory size to equal the amount of statically allocated memory.
[stefano: add check for DOMU_MEM != DOMU_STATIC_MEM]
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Diffstat (limited to 'scripts/lop-xen.dts')
0 files changed, 0 insertions, 0 deletions