v1 was a simple patch: 'use qbus_reset_all() directly instead of qbus_reset_all_fn' where I was looking inside the definition of BusState.
Peter suggested to use the prefered QOM style, using the BUS/DEVICE macros. While here, I also cleaned the rest of the codebase. Philippe Mathieu-Daudé (10): hw/scsi/vmw_pvscsi: Use qbus_reset_all() directly hw/scsi: Use the QOM BUS() macro to access BusState.qbus hw/pci-bridge: Use the QOM BUS() macro to access BusState.qbus hw/s390x/event-facility: Use the QOM BUS() macro to access BusState.qbus hw/sd: Use the QOM BUS() macro to access BusState.qbus hw/audio/ac97: Use the QOM DEVICE() macro to access DeviceState.qdev hw/isa: Use the QOM DEVICE() macro to access DeviceState.qdev hw/usb-storage: Use the QOM DEVICE() macro to access DeviceState.qdev hw/vfio/pci: Use the QOM DEVICE() macro to access DeviceState.qdev hw/watchdog/wdt_i6300esb: Use DEVICE() macro to access DeviceState.qdev hw/audio/ac97.c | 2 +- hw/isa/lpc_ich9.c | 2 +- hw/isa/vt82c686.c | 2 +- hw/pci/pci_bridge.c | 2 +- hw/s390x/event-facility.c | 4 ++-- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/mptsas.c | 4 ++-- hw/scsi/virtio-scsi.c | 2 +- hw/scsi/vmw_pvscsi.c | 4 ++-- hw/sd/milkymist-memcard.c | 2 +- hw/sd/ssi-sd.c | 2 +- hw/usb/dev-storage.c | 2 +- hw/vfio/pci.c | 4 ++-- hw/watchdog/wdt_i6300esb.c | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) -- 2.20.1