spapr: Add /system-id
commit3dc0a66d26bfc3820ab46aaf245cabf26fcf1eb4
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 9 Nov 2015 06:47:17 +0000 (9 17:47 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 11 Jan 2016 04:29:04 +0000 (11 15:29 +1100)
treeae9542c075a1d8613f94210305483546b7ce4dee
parent7d94a30b549281d4d780fb9a5cca3dae378329d4
spapr: Add /system-id

Section B.6.2.1 Root Node Properties of PAPR specification defines
a set of properties which shall be present in the device tree root,
one of these properties is "system-id" which "should be unique across
all systems and all manufacturers". Since UUID is meant to be unique,
it makes sense to use it as "system-id".

This adds "system-id" property to the device tree root when not empty.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c