From 63c09e820f79ac30d8eabbe0c85fd87c7af44b27 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"; };