From 4435825070fe062bb5576e9e048883191c0d87b7 Mon Sep 17 00:00:00 2001 From: Ayan Kumar Halder Date: Wed, 10 Nov 2021 16:03:45 +0000 Subject: Enable setting xen,passthrough Add an option 'XEN_PASSTHROUGH_PATHS' to the imagebuilder config file. It takes a list of device paths (separated by spaces) which needs to be marked with xen,passthrough. Signed-off-by: Ayan Kumar Halder Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 184ceef..1695c56 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ LOAD_CMD="tftpb" DEVICE_TREE="mpsoc.dtb" XEN="xen" XEN_CMD="console=dtuart dtuart=serial0 dom0_mem=1G dom0_max_vcpus=1 bootscrub=0 vwfi=native sched=null" +XEN_PASSTHROUGH_PATHS="/axi/ethernet@ff0e0000 /axi/serial@ff000000" DOM0_KERNEL="Image-dom0" DOM0_CMD="console=hvc0 earlycon=xen earlyprintk=xen clk_ignore_unused" DOM0_RAMDISK="dom0-ramdisk.cpio" @@ -86,6 +87,9 @@ Where: - XEN_CMD specifies the command line arguments used for Xen. If not set, the default one will be used. +- XEN_PASSTHROUGH_PATHS specifies the passthrough devices (separated + by spaces). It adds "xen,passthrough" to the corresponding dtb nodes. + - DOM0_KERNEL specifies the Dom0 kernel file to load. - DOM0_CMD specifies the command line arguments for Dom0's Linux -- cgit v1.2.3