ppc/pnv: Link "chip" property to PnvHomer::chip pointer
commitf2582acf993f2f62bba5c8d74726a199abe3a491
authorGreg Kurz <groug@kaod.org>
Fri, 15 Nov 2019 15:55:54 +0000 (15 16:55 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:47 +0000 (17 10:39 +1100)
tree684e91af88bfd49724e793ab9fab48a93e490fb6
parentee3d27138da0cc44ba29258dc66c85ac9c4a6bad
ppc/pnv: Link "chip" property to PnvHomer::chip pointer

The homer object has both a pointer and a "chip" property pointing to the
chip object. Confusing bugs could arise if these ever go out of sync.

Change the property definition so that it explicitely sets the pointer.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157383335451.165747.32301068645427993.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_homer.c