ppc/pnv: Link "psi" property to PnvOCC::psi pointer
commitee3d27138da0cc44ba29258dc66c85ac9c4a6bad
authorGreg Kurz <groug@kaod.org>
Fri, 15 Nov 2019 15:55:49 +0000 (15 16:55 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:47 +0000 (17 10:39 +1100)
treea41469d1bae1832b226125d1bdc89a9b942df801
parentb63f389366fbc586ce82f95ad808a51bc9f95c71
ppc/pnv: Link "psi" property to PnvOCC::psi pointer

The OCC object has both a pointer and a "psi" property pointing to the
PSI 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: <157383334894.165747.7617090757862105199.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_occ.c