Skip to content

hw: Few more QOM/QDev cleanups

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/virtio/virtio-pmem: Replace impossible check by assertionhw/virtio/virtio-pmem.c+1 -41 reply
2/7hw/block/vhost-user-blk: Use DEVICE() / VIRTIO_DEVICE() macroshw/block/vhost-user-blk.c+2 -22 replies
3/7hw/display/virtio-gpu: Use VIRTIO_DEVICE() macrohw/display/virtio-gpu.c+1 -12 replies
4/7hw/scsi/virtio-scsi: Use VIRTIO_SCSI_COMMON() macrohw/scsi/virtio-scsi.c+1 -18 replies
5/7hw/dma: Declare link using static DEFINE_PROP_LINK() macrohw/dma/xilinx_axidma.c hw/dma/xlnx-zdma.c hw/dma/xlnx_csu_dma.c+8 -181 reply
6/7hw/net: Declare link using static DEFINE_PROP_LINK() macrohw/net/cadence_gem.c+2 -51 reply
7/7hw/usb: Declare link using static DEFINE_PROP_LINK() macrohw/usb/hcd-xhci-sysbus.c hw/usb/hcd-xhci.c+2 -41 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael S. TsirkinManos PitsidianakisMark Cave-Ayland
SeriesR-b
1/7R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] hw: Few more QOM/QDev cleanups

- Remove a pointless check,
- Use QOM cast macros,
- Declare QDev links statically using DEFINE_PROP_LINK()

Philippe Mathieu-Daudé (7):
hw/virtio/virtio-pmem: Replace impossible check by assertion hw/block/vhost-user-blk: Use DEVICE() / VIRTIO_DEVICE() macros hw/display/virtio-gpu: Use VIRTIO_DEVICE() macro hw/scsi/virtio-scsi: Use VIRTIO_SCSI_COMMON() macro hw/dma: Declare link using static DEFINE_PROP_LINK() macro hw/net: Declare link using static DEFINE_PROP_LINK() macro hw/usb: Declare link using static DEFINE_PROP_LINK() macro

 hw/block/vhost-user-blk.c |  4 ++--
 hw/display/virtio-gpu.c   |  2 +-
 hw/dma/xilinx_axidma.c    |  6 ++----
 hw/dma/xlnx-zdma.c        |  7 ++-----
 hw/dma/xlnx_csu_dma.c     | 13 ++++---------
 hw/net/cadence_gem.c      |  7 ++-----
 hw/scsi/virtio-scsi.c     |  2 +-
 hw/usb/hcd-xhci-sysbus.c  |  4 ----
 hw/usb/hcd-xhci.c         |  2 ++
 hw/virtio/virtio-pmem.c   |  5 +----
 10 files changed, 17 insertions(+), 35 deletions(-)
Signature · 1 line
2.41.0