]> git.proxmox.com Git - qemu.git/commit - hw/spapr_vio.c
pseries: Populate "/chosen/linux,stdout-path" in the FDT
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 13 Dec 2011 04:24:34 +0000 (15:24 +1100)
committerAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 14:49:12 +0000 (15:49 +0100)
commit68f3a94c64bbaaf8c7f2daa70de1b5d87a432f86
tree3fe6f6853380cf32988745e17896aed3ae9ee540
parent98331f8ad6a3e2cfbb402d72e6be47eac7706251
pseries: Populate "/chosen/linux,stdout-path" in the FDT

There is a device tree property "/chosen/linux,stdout-path" which indicates
which device should be used as stdout - ie. "the console".

Currently we don't specify anything, which means both firmware and Linux
choose something arbitrarily. Use the routine we added in the last patch
to pick a default vty and specify it as stdout.

Currently SLOF doesn't use the property, but we are hoping to update it
to do so.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c
hw/spapr_vio.c
hw/spapr_vio.h
hw/spapr_vty.c