Skip to content

Move virtio-ccw devices to separate files

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10hw/s390x/virtio-ccw: Consolidate calls to virtio_ccw_unrealize()hw/s390x/virtio-ccw.c+7 -151 reply
2/10hw/s390x: Move virtio-ccw-serial code to a separate fileMAINTAINERS hw/s390x/Makefile.objs hw/s390x/virtio-ccw-serial.c +1 more+80 -590 replies
3/10hw/s390x: Move virtio-ccw-balloon code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-balloon.c hw/s390x/virtio-ccw.c+71 -490 replies
4/10hw/s390x: Move virtio-ccw-scsi code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-scsi.c hw/s390x/virtio-ccw.c+126 -1040 replies
5/10hw/s390x: Move virtio-ccw-rng code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-rng.c hw/s390x/virtio-ccw.c+75 -530 replies
6/10hw/s390x: Move virtio-ccw-9p code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-9p.c hw/s390x/virtio-ccw.c+66 -480 replies
7/10hw/s390x: Move virtio-ccw-crypto code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-crypto.c hw/s390x/virtio-ccw.c+76 -550 replies
8/10hw/s390x: Move vhost-vsock-ccw code to a separate filehw/s390x/Makefile.objs hw/s390x/vhost-vsock-ccw.c hw/s390x/virtio-ccw.c+61 -471 reply
9/10hw/s390x: Move virtio-ccw-gpu code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-gpu.c hw/s390x/virtio-ccw.c+68 -470 replies
10/10hw/s390x: Move virtio-ccw-input code to a separate filehw/s390x/Makefile.objs hw/s390x/virtio-ccw-input.c hw/s390x/virtio-ccw.c+119 -980 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-3.1 00/10] Move virtio-ccw devices to separate files

For more fine-grained control over the build process, it would be good to have the possibility to disable single virtio devices, too. We already have CONFIG_VIRTIO_* switches in the Makefiles, but currently all virtio-ccw devices are compiled in anyway. Move them to separate files so we can disable them in the Makefile more easily.

NB: I did not move virtio-blk-ccw and virtio-net-ccw to a separate file yet since they are essential for the s390x-virtio machine and thus it does IMHO not make much sense to disable net and blk. But if somebody needs that possibility, too, I can add two more patches on top...

Thomas Huth (10):
hw/s390x/virtio-ccw: Consolidate calls to virtio_ccw_unrealize() hw/s390x: Move virtio-ccw-serial code to a separate file hw/s390x: Move virtio-ccw-balloon code to a separate file hw/s390x: Move virtio-ccw-scsi code to a separate file hw/s390x: Move virtio-ccw-rng code to a separate file hw/s390x: Move virtio-ccw-9p code to a separate file hw/s390x: Move virtio-ccw-crypto code to a separate file hw/s390x: Move vhost-vsock-ccw code to a separate file hw/s390x: Move virtio-ccw-gpu code to a separate file hw/s390x: Move virtio-ccw-input code to a separate file

 MAINTAINERS                   |   2 +-
 hw/s390x/Makefile.objs        |   9 +
 hw/s390x/vhost-vsock-ccw.c    |  60 +++++
 hw/s390x/virtio-ccw-9p.c      |  65 +++++
 hw/s390x/virtio-ccw-balloon.c |  70 +++++
 hw/s390x/virtio-ccw-crypto.c  |  75 ++++++
 hw/s390x/virtio-ccw-gpu.c     |  67 +++++
 hw/s390x/virtio-ccw-input.c   | 118 +++++++++
 hw/s390x/virtio-ccw-rng.c     |  74 ++++++
 hw/s390x/virtio-ccw-scsi.c    | 125 +++++++++
 hw/s390x/virtio-ccw-serial.c  |  78 ++++++
 hw/s390x/virtio-ccw.c         | 581 +-----------------------------------------
 12 files changed, 749 insertions(+), 575 deletions(-)
 create mode 100644 hw/s390x/vhost-vsock-ccw.c
 create mode 100644 hw/s390x/virtio-ccw-9p.c
 create mode 100644 hw/s390x/virtio-ccw-balloon.c
 create mode 100644 hw/s390x/virtio-ccw-crypto.c
 create mode 100644 hw/s390x/virtio-ccw-gpu.c
 create mode 100644 hw/s390x/virtio-ccw-input.c
 create mode 100644 hw/s390x/virtio-ccw-rng.c
 create mode 100644 hw/s390x/virtio-ccw-scsi.c
 create mode 100644 hw/s390x/virtio-ccw-serial.c
Signature · 1 line
1.8.3.1