This patchset removes the remaining uses of some deprecated reset-related APIs: * device_legacy_reset() -- replaced with device_cold_reset() (conversions require some thought) * qdev_reset_all() -- replaced with device_cold_reset() (mechanical no-behaviour-change conversion) * qbus_reset_all() -- replaced with bus_cold_reset() (mechanical no-behaviour-change conversion)
The first four patches have been on the list already; the first three have been reviewed. Mostly just tested with 'make check' and 'make check-avocado'. This is of course all for-8.0 material, but I figured I might as well push it out on list for review, especially since I have some followup stuff that depends on this. thanks -- PMM Peter Maydell (9): hw/s390x/s390-pci-inst.c: Use device_cold_reset() to reset PCI devices hw/audio/intel-hda: don't reset codecs twice hw/audio/intel-hda: Drop unnecessary prototype hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset() pci: Use device_cold_reset() and bus_cold_reset() hw/hyperv/vmbus: Use device_cold_reset() and bus_cold_reset() Replace use of qdev_reset_all() with device_cold_reset() qdev: Remove qdev_reset_all() and qbus_reset_all() hw: Remove device_legacy_reset() include/hw/qdev-core.h | 35 --------------------- hw/audio/intel-hda.c | 6 +--- hw/core/qdev.c | 64 -------------------------------------- hw/hyperv/vmbus.c | 4 +-- hw/i386/xen/xen_platform.c | 2 +- hw/input/adb.c | 2 +- hw/pci/pci.c | 6 ++-- hw/pci/pci_bridge.c | 2 +- hw/remote/vfio-user-obj.c | 2 +- hw/s390x/s390-pci-inst.c | 2 +- hw/s390x/s390-virtio-ccw.c | 2 +- hw/usb/dev-uas.c | 2 +- hw/usb/hcd-xhci-pci.c | 2 +- hw/usb/hcd-xhci-sysbus.c | 2 +- hw/core/trace-events | 4 --- 15 files changed, 15 insertions(+), 122 deletions(-) -- 2.25.1