[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] hw: Few more QOM/QDev cleanups
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] hw: Few more QOM/QDev cleanups |
Date: |
Tue, 17 Oct 2023 16:01:43 +0200 |
- 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(-)
--
2.41.0
- [PATCH 0/7] hw: Few more QOM/QDev cleanups,
Philippe Mathieu-Daudé <=