[PATCH 0/2] ppc/pnv: Reset handler registration cleanup

Greg Kurz posted 2 patches 4 years, 3 months ago
Test docker-quick@centos7 failed
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/157841289975.66386.6463139590245180762.stgit@bahia.tlslab.ibm.com
Maintainers: David Gibson <david@gibson.dropbear.id.au>, "Cédric Le Goater" <clg@kaod.org>
hw/ppc/pnv_psi.c |   30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
[PATCH 0/2] ppc/pnv: Reset handler registration cleanup
Posted by Greg Kurz 4 years, 3 months ago
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(-)