hw/virtio: Build various target-agnostic objects just once
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 13 repliesIn review
- v111 patches 25 repliesSuperseded
Changes in v2 from the cover letter
- Addressed Richard & Thomas review comments
. qemu_target_page_align() dropped
. qemu_target_page_mask() returns signed
. meson shuffle
- Collected R-b/T-b/A-b tags
- Dropped vhost-vdpa patch (to be posted as another series)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | softmmu: Introduce qemu_target_page_mask() helperinclude/ softmmu/ | +6 | 2 replies | |
| 2/10 | hw/scsi: Introduce VHOST_SCSI_COMMON symbol in Kconfighw/ hw/ | +10 | 1 reply | |
| 3/10 | hw/scsi: Rearrange meson.buildhw/ | +5 | 2 replies | |
| 4/10 | hw/scsi: Rename target-specific source set as 'specific_virtio_scsi_ss'hw/ | +6 | 1 reply | |
| 5/10 | hw/virtio: Introduce VHOST_VSOCK_COMMON symbol in Kconfighw/ hw/ | +9 | 2 replies | |
| 6/10 | hw/virtio/virtio-mem: Use qemu_ram_get_fd() helperhw/ | +1 | 1 reply | |
| 7/10 | hw/virtio/vhost-vsock: Include missing 'virtio/virtio-bus.h' headerhw/ | +1 | 2 replies | |
| 8/10 | hw/virtio/virtio-iommu: Use target-agnostic qemu_target_page_mask()hw/ | +2 | 1 reply | |
| 9/10 | hw/virtio: Remove unnecessary 'virtio-access.h' headerhw/ hw/ hw/ +9 more | +0 | 1 reply | |
| 10/10 | hw/virtio: Build various target-agnostic objects just oncehw/ hw/ hw/ | +14 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Thomas Huth | David Hildenbrand | Eric Auger | Alex Bennée | Stefano Garzarella |
|---|---|---|---|---|---|---|
| 1/10 | R-b | R-b | R-b | |||
| 2/10 | R-b | R-b | R-b | |||
| 3/10 | R-b | R-b | R-b | |||
| 4/10 | R-b | R-b | ||||
| 5/10 | R-b | R-b | R-b | R-b | ||
| 6/10 | R-b | R-b | R-b | |||
| 7/10 | R-b | R-b | R-b | R-b | ||
| 8/10 | R-b | R-b | R-b | |||
| 9/10 | A-b | T-b | R-b | |||
| 10/10 | R-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 6 reviewers.
Cover letter [PATCH v2 00/10] hw/virtio: Build various target-agnostic objects just once
All patches reviewed.
Since v1:
- Addressed Richard & Thomas review comments
. qemu_target_page_align() dropped
. qemu_target_page_mask() returns signed
. meson shuffle
- Collected R-b/T-b/A-b tags
- Dropped vhost-vdpa patch (to be posted as another series)
Less controvertial than my first approach [*] which caches the access_is_big_endian value in VirtIODevice state, this series just remove a unnecessary / pointless dependency on "virtio-access.h", allowing to build various virtio objects once for all targets.
[*] https://lore.kernel.org/qemu-devel/[email protected]/
Philippe Mathieu-Daudé (10):
softmmu: Introduce qemu_target_page_mask() helper hw/scsi: Introduce VHOST_SCSI_COMMON symbol in Kconfig hw/scsi: Rearrange meson.build
hw/scsi: Rename target-specific source set as
'specific_virtio_scsi_ss'
hw/virtio: Introduce VHOST_VSOCK_COMMON symbol in Kconfig hw/virtio/virtio-mem: Use qemu_ram_get_fd() helper hw/virtio/vhost-vsock: Include missing 'virtio/virtio-bus.h' header hw/virtio/virtio-iommu: Use target-agnostic qemu_target_page_mask() hw/virtio: Remove unnecessary 'virtio-access.h' header hw/virtio: Build various target-agnostic objects just once
include/exec/target_page.h | 1 + hw/block/dataplane/virtio-blk.c | 1 - hw/s390x/virtio-ccw.c | 1 - hw/scsi/vhost-scsi.c | 1 - hw/scsi/vhost-user-scsi.c | 1 - hw/scsi/virtio-scsi-dataplane.c | 1 - hw/virtio/vdpa-dev.c | 1 - hw/virtio/vhost-vdpa.c | 1 - hw/virtio/vhost-vsock-common.c | 2 +- hw/virtio/vhost.c | 1 - hw/virtio/virtio-crypto.c | 1 - hw/virtio/virtio-iommu.c | 4 ++-- hw/virtio/virtio-mem.c | 3 +-- softmmu/physmem.c | 5 +++++ hw/block/dataplane/meson.build | 2 +- hw/scsi/Kconfig | 6 ++++++ hw/scsi/meson.build | 20 +++++++++++++------- hw/virtio/Kconfig | 6 ++++++ hw/virtio/meson.build | 14 ++++++++------ 19 files changed, 44 insertions(+), 28 deletions(-)
Signature · 1 line
2.38.1