aboutsummaryrefslogtreecommitdiff
path: root/scripts/uboot-script-gen
diff options
context:
space:
mode:
authorStefano Stabellini2022-06-17 18:20:08 -0700
committerStefano Stabellini2022-06-17 18:20:08 -0700
commit10849af6a809daadd4e8291e54dc7569bd47087a (patch)
treedcad55c7bbe072f197edfa3e1491fb6c86490064 /scripts/uboot-script-gen
parent6f5ecb4a9d780378ed3733a7c838b10e5d0a832d (diff)
Add xen,enhanced by default to all guests
It enables the usage of PV drivers with dom0less guests. Adding xen,enhanced has the potential side-effect of causing older unpatched versions of Linux to break at boot. If your Linux kernel is affected, consider upgrading kernel, or removing "xen,enhanced" by hand from the generated boot.source. Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com> Reviewed-by: Ayan Kumar Halder <ayankuma@amd.com>
Diffstat (limited to 'scripts/uboot-script-gen')
-rwxr-xr-xscripts/uboot-script-gen1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 48b36a3..455b4c0 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -203,6 +203,7 @@ function xen_device_tree_editing()
add_device_tree_static_mem "/chosen/domU$i" "${DOMU_STATIC_MEM[$i]}"
fi
dt_set "/chosen/domU$i" "vpl011" "hex" "0x1"
+ dt_set "/chosen/domU$i" "xen,enhanced" "str" "enabled"
if test "${DOMU_COLORS[$i]}"
then