These patches were initially posted in Cedric's "ppc/pnv: remove the use of
qdev_get_machine()" series, which isn't really related to reset handlers
BTW.
The only change is to call device_reset() instead of open-coding the
invocation of DeviceReset::reset() as suggested by David.
--
Greg
---
Greg Kurz (2):
pnv/psi: Add device reset hook
pnv/psi: Consolidate some duplicated code in pnv_psi_realize()
hw/ppc/pnv_psi.c | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)