Skip to content

virtio-ccw: remove device declarations from virtio-ccw.h

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4s390x: follow qdev tree to detect SCSI device on a CCW bushw/s390x/ipl.c+12 -82 replies
2/4virtio-ccw: move vhost_ccw_scsi to a separate filehw/s390x/meson.build hw/s390x/vhost-scsi-ccw.c hw/s390x/virtio-ccw-scsi.c+65 -474 replies
3/4virtio-ccw: move device type declarations to .c fileshw/s390x/s390-virtio-ccw.c hw/s390x/vhost-scsi-ccw.c hw/s390x/vhost-vsock-ccw.c +12 more+122 -1332 replies
4/4virtio-ccw: do not include headers for all virtio deviceshw/s390x/ipl.c hw/s390x/virtio-ccw.h+3 -162 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchThomas HuthEric FarmanHalil Pasic
1/4R-b R-b
2/4R-b R-b R-b
3/4R-b R-b
4/4R-b R-b

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/4] virtio-ccw: remove device declarations from virtio-ccw.h

I have looked recently at moving some of the vhost-user definitions from configure options to Kconfig symbols. This made some of the vhost symbols target-dependent (and thus poisoned) where they used to be defined in config-host.h.

To fix this, this series removes these symbols (and all other code that is not needed outside individual virtio-ccw device implementations) from the virtio-ccw.h header. I am sending it separately because I think it's a worthwhile cleanup on its own.

Paolo

Paolo Bonzini (4):
s390x: follow qdev tree to detect SCSI device on a CCW bus
virtio-ccw: move vhost_ccw_scsi to a separate file
virtio-ccw: move device type declarations to .c files
virtio-ccw: do not include headers for all virtio devices

 hw/s390x/ipl.c                |  23 ++++--
 hw/s390x/meson.build          |   1 +
 hw/s390x/s390-virtio-ccw.c    |   1 +
 hw/s390x/vhost-scsi-ccw.c     |  73 +++++++++++++++++
 hw/s390x/vhost-vsock-ccw.c    |   9 ++
 hw/s390x/virtio-ccw-9p.c      |   9 ++
 hw/s390x/virtio-ccw-balloon.c |   9 ++
 hw/s390x/virtio-ccw-blk.c     |   9 ++
 hw/s390x/virtio-ccw-crypto.c  |   9 ++
 hw/s390x/virtio-ccw-gpu.c     |   9 ++
 hw/s390x/virtio-ccw-input.c   |  20 +++++
 hw/s390x/virtio-ccw-net.c     |   9 ++
 hw/s390x/virtio-ccw-rng.c     |   9 ++
 hw/s390x/virtio-ccw-scsi.c    |  56 ++-----------
 hw/s390x/virtio-ccw-serial.c  |   9 ++
 hw/s390x/virtio-ccw.c         |   2 +
 hw/s390x/virtio-ccw.h         | 149 ----------------------------------
 17 files changed, 202 insertions(+), 204 deletions(-)
 create mode 100644 hw/s390x/vhost-scsi-ccw.c
Signature · 1 line
2.35.1