aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorXenia Ragiadakou2022-06-16 12:56:39 +0300
committerStefano Stabellini2022-06-16 13:57:56 -0700
commit66b9bd9f5e20c168ebcad4b08ac29cf6a90b666d (patch)
tree563550c05c4f69fedce8f9b962a95acd3bd0ee89 /README.md
parent8c7c2d0166c59754cd30e2e3ea6e21a3cb52762b (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 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8ce13f0..876e46d 100644
--- a/README.md
+++ b/README.md
@@ -154,6 +154,10 @@ Where:
automatically at boot as dom0-less guest. It can still be created
later from Dom0.
+- DOMU_STATIC_MEM[number]="baseaddr1 size1 ... baseaddrN sizeN"
+ if specified, indicates the host physical address regions
+ [baseaddr, baseaddr + size) to be reserved to the VM for static allocation.
+
- LINUX is optional but specifies the Linux kernel for when Xen is NOT
used. To enable this set any LINUX\_\* variables and do NOT set the
XEN variable.