qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH v2 00/10] qom: Use BUS()/DEVICE() macros instead of looking inside definitions
@ 2019-05-28 16:40 Philippe Mathieu-Daudé
  2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 01/10] hw/scsi/vmw_pvscsi: Use qbus_reset_all() directly Philippe Mathieu-Daudé
                   ` (9 more replies)
  0 siblings, 10 replies; 31+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-05-28 16:40 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial
  Cc: Dmitry Fleytman, Michael S. Tsirkin, Marcel Apfelbaum,
	Paolo Bonzini, Gerd Hoffmann, Aleksandar Rikalo, Halil Pasic,
	David Hildenbrand, Christian Borntraeger, Michael Walle,
	Richard Henderson, Aleksandar Markovic, Cornelia Huck,
	Alex Williamson, Peter Maydell, Fam Zheng, qemu-s390x,
	Markus Armbruster, Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-06-06  9:56 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-28 16:40 [Qemu-trivial] [PATCH v2 00/10] qom: Use BUS()/DEVICE() macros instead of looking inside definitions Philippe Mathieu-Daudé
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 01/10] hw/scsi/vmw_pvscsi: Use qbus_reset_all() directly Philippe Mathieu-Daudé
2019-06-02  7:02   ` Dmitry Fleytman
2019-06-06  9:29   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 02/10] hw/scsi: Use the QOM BUS() macro to access BusState.qbus Philippe Mathieu-Daudé
2019-06-06  9:41   ` Laurent Vivier
2019-06-06  9:54   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 03/10] hw/pci-bridge: " Philippe Mathieu-Daudé
2019-05-28 16:52   ` Marcel Apfelbaum
2019-06-06  9:31   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 04/10] hw/s390x/event-facility: " Philippe Mathieu-Daudé
2019-05-28 17:00   ` Cornelia Huck
2019-06-06  9:32   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 05/10] hw/sd: " Philippe Mathieu-Daudé
2019-05-28 16:47   ` Peter Maydell
2019-06-06  9:38   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 06/10] hw/audio/ac97: Use the QOM DEVICE() macro to access DeviceState.qdev Philippe Mathieu-Daudé
2019-05-28 16:46   ` Peter Maydell
2019-06-06  9:36   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 07/10] hw/isa: " Philippe Mathieu-Daudé
2019-05-28 16:53   ` Marcel Apfelbaum
2019-06-06  9:33   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 08/10] hw/usb-storage: " Philippe Mathieu-Daudé
2019-05-29  5:02   ` Gerd Hoffmann
2019-06-06  9:34   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 09/10] hw/vfio/pci: " Philippe Mathieu-Daudé
2019-06-03 18:56   ` Alex Williamson
2019-06-06  9:39   ` Laurent Vivier
2019-05-28 16:40 ` [Qemu-trivial] [PATCH v2 10/10] hw/watchdog/wdt_i6300esb: Use " Philippe Mathieu-Daudé
2019-06-06  9:42   ` Laurent Vivier
2019-06-06  9:55   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).