Commit 9c7074da authored by Leif Lindholm's avatar Leif Lindholm Committed by Peter Maydell
Browse files

hw/arm/virt: set stdout-path instead of linux,stdout-path

ePAPR 1.1 defines the stdout-path property, making the os-specific
linux,stdout-path property redundant. Change the DT setup for ARM virt
to use the generic property - supported by Linux since 3.15.

The old QEMU behaviour was not present in any released version of
QEMU, and was only added to QEMU after the kernel changed, so
this should not break any existing setups.
Signed-off-by: default avatarLeif Lindholm <>
[PMM: add note to commit about the old behaviour never hving been
in a released version of QEMU]
Signed-off-by: default avatarPeter Maydell <>
parent ff323a6b
......@@ -389,7 +389,7 @@ static void create_uart(const VirtBoardInfo *vbi, qemu_irq *pic)
qemu_fdt_setprop(vbi->fdt, nodename, "clock-names",
clocknames, sizeof(clocknames));
qemu_fdt_setprop_string(vbi->fdt, "/chosen", "linux,stdout-path", nodename);
qemu_fdt_setprop_string(vbi->fdt, "/chosen", "stdout-path", nodename);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment