From b3e71e34af973e902da57587c434ea6b5125cd89 Mon Sep 17 00:00:00 2001 From: Amit Blay Date: Sun, 7 Mar 2021 16:54:11 +0200 Subject: [PATCH] ARM: dts: msm: Enable rename_blk device for LXC guest For LXC guest VM, rename the vda virtual device to system. This is needed for supporting standard kernel command line generated in AVB2.0 vbmeta, which refers to the rootfs as /dev/system. Change-Id: I354e9f3a2173ecea40fb54920f2a255553a40b46 --- qcom/sa8195-vm-lv-lxc.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qcom/sa8195-vm-lv-lxc.dtsi b/qcom/sa8195-vm-lv-lxc.dtsi index 75228e2e38af..350ee45b4cb1 100644 --- a/qcom/sa8195-vm-lv-lxc.dtsi +++ b/qcom/sa8195-vm-lv-lxc.dtsi @@ -13,6 +13,14 @@ }; }; +/ { + rename_blk: rename_blk { + compatible = "qcom,blkdev-rename"; + actual-dev = "vda"; + rename-dev = "system"; + }; +}; + &usb0 { status = "ok"; };