On Fri, 18 Oct 2019 17:06:18 +0200 Damien Hedde <damien.he...@greensocs.com> wrote:
> Provide a temporary device_legacy_reset function doing what > device_reset does to prepare for the transition with Resettable > API. > > All occurrence of device_reset in the code tree are also replaced > by device_legacy_reset. > > The new resettable API has different prototype and semantics > (resetting child buses as well as the specified device). Subsequent > commits will make the changeover for each call site individually; once > that is complete device_legacy_reset() will be removed. > > Signed-off-by: Damien Hedde <damien.he...@greensocs.com> > Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> > Acked-by: David Gibson <da...@gibson.dropbear.id.au> > --- > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: "Daniel P. Berrangé" <berra...@redhat.com> > Cc: Eduardo Habkost <ehabk...@redhat.com> > Cc: Richard Henderson <r...@twiddle.net> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Marcel Apfelbaum <marcel.apfelb...@gmail.com> > Cc: John Snow <js...@redhat.com> > Cc: "Cédric Le Goater" <c...@kaod.org> > Cc: Collin Walling <wall...@linux.ibm.com> > Cc: Cornelia Huck <coh...@redhat.com> > Cc: David Hildenbrand <da...@redhat.com> > Cc: Halil Pasic <pa...@linux.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Dmitry Fleytman <dmitry.fleyt...@gmail.com> > Cc: Fam Zheng <f...@euphon.net> > --- > hw/audio/intel-hda.c | 2 +- > hw/core/qdev.c | 6 +++--- > hw/hyperv/hyperv.c | 2 +- > hw/i386/pc.c | 2 +- > hw/ide/microdrive.c | 8 ++++---- > hw/intc/spapr_xive.c | 2 +- > hw/ppc/pnv_psi.c | 2 +- > hw/ppc/spapr_pci.c | 2 +- > hw/ppc/spapr_vio.c | 2 +- > hw/s390x/s390-pci-inst.c | 2 +- > hw/scsi/vmw_pvscsi.c | 2 +- > hw/sd/omap_mmc.c | 2 +- > hw/sd/pl181.c | 2 +- > include/hw/qdev-core.h | 4 ++-- > 14 files changed, 20 insertions(+), 20 deletions(-) Acked-by: Cornelia Huck <coh...@redhat.com>