diff options
author | Ayan Kumar Halder | 2022-01-20 11:11:42 +0000 |
---|---|---|
committer | Stefano Stabellini | 2022-01-20 10:36:12 -0800 |
commit | 3780f67696f4b95efda0a2c3d8405ba85128632c (patch) | |
tree | 4c122fd2cfc8914ba60bcb003bb5657bb26e66fe /README.md | |
parent | 8f01717f27341e554fa39ed6f026a0d333fb4790 (diff) |
Specify the memory and virtual cpu count for DOM0
Introduced the new config options :-
DOM0_MEM - To specify the amount of memory (in MB) that is assigned
to Dom0.
DOM0_VCPUS - To specify the count of virtual CPUs for Dom0.
These options are used to set XEN_CMD.
Signed-off-by: Ayan Kumar Halder <ayankuma@xilinx.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.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -38,6 +38,8 @@ PASSTHROUGH_DTS_REPO="git@github.com:Xilinx/xen-passthrough-device-trees.git dev DOM0_KERNEL="Image-dom0" DOM0_CMD="console=hvc0 earlycon=xen earlyprintk=xen clk_ignore_unused" DOM0_RAMDISK="dom0-ramdisk.cpio" +DOM0_MEM=1024 +DOM0_VCPUS=1 NUM_DT_OVERLAY=1 DT_OVERLAY[0]="host_dt_overlay.dtbo" @@ -95,6 +97,12 @@ Where: - DOM0_KERNEL specifies the Dom0 kernel file to load. +- DOM0_MEM specifies the amount of memory for Dom0 VM in MB. The default + is 1024. This is only applicable when XEN_CMD is not specified. + +- DOM0_VCPUS specifies the number of VCPUs for Dom0. The default is 1. This is + only applicable when XEN_CMD is not specified. + - DOM0_CMD specifies the command line arguments for Dom0's Linux kernel. If "root=" isn't set, imagebuilder will try to determine it. If not set at all, the default one is used. |