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

The LPC 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: <157383334342.165747.3159314903077305653.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_lpc.c