From 8080718b8a8c94841155ead67bfb22cbd8e4840f Mon Sep 17 00:00:00 2001 From: Xenia Ragiadakou Date: Sun, 26 Jun 2022 21:45:35 +0300 Subject: uboot-script-gen: prevent user mistakes due to DOM0_KERNEL becoming optional Before enabling true dom0less configuration, the script was failing instantly if DOM0_KERNEL parameter was not specified. This behaviour has changed and this needs to be communicated to the user. Mention in README.md that for dom0less configurations, the parameter DOM0_KERNEL is optional. If DOM0_KERNEL is not set, check that no other dom0 specific parameters are specified by the user. Fail the script early with an appropriate error message, if it was invoked with erroneous configuration settings. Change message "Dom0 kernel is not specified, continue with dom0less setup." to "Dom0 kernel is not specified, continue with true dom0less setup." to refer more accurately to a dom0less setup without dom0. Signed-off-by: Xenia Ragiadakou Reviewed-by: Stefano Stabellini --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 17ff206..cb15ca5 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ Where: been specified in XEN_PASSTHROUGH_PATHS. - DOM0_KERNEL specifies the Dom0 kernel file to load. + For dom0less configurations, the parameter is optional. - 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. -- cgit v1.2.3