pseries: Add compatible property to root of device tree
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2013 19:27:12 +0000 (19:27 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:53 +0000 (21:04 +0100)
commitd63919c93e6fb0587632adafba82c21e55ea4396
tree328778b77f271f508f95d34ed22a3ed045942e45
parente9a9607527746600a1af79ba63494ec596ec8584
pseries: Add compatible property to root of device tree

Currently, for the pseries machine the device tree supplied by qemu to SLOF
and from there to the guest does not include a 'compatible property' at the
root level.  Usually that works fine, since in this case the compatible
property doesn't really give any information not already found in the
'device_type' or 'model' properties.

However, the lack of 'compatible' confuses the bootloader install in the
SLES11 SP2 and SLES11 SP3 installers.  This patch therefore adds a token
'compatible' property to work around that.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-stable@nongnu.org
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c