[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/1] xen/arm: Use "" instead of "/" for domU root node.
From: Will Abele <will.abele@xxxxxxxxxx> Prior to linux a7e4cfb0a7ca4773e7d0dd1d9c018ab27a15360e (merged in 4.15), Linux checked to see if the device tree version was greater than 0x10 by checking for a root node "/". Xen creates a version 0x11 device tree, so the root node's unit name should be "". Signed-off-by: Will Abele <will.abele@xxxxxxxxxx> --- xen/arch/arm/domain_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index d9836779d1..af936b4c3a 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1697,7 +1697,7 @@ static int __init prepare_dtb_domU(struct domain *d, struct kernel_info *kinfo) if ( ret < 0 ) goto err; - ret = fdt_begin_node(kinfo->fdt, "/"); + ret = fdt_begin_node(kinfo->fdt, ""); if ( ret < 0 ) goto err; -- 2.20.1 (Apple Git-117) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |