Skip to content

Add SCMI vhost-user VIRTIO device

Milan Zamazal qemu-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on master after one of the patches had been merged.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/virtio: Add boilerplate for vhost-user-scmi deviceMAINTAINERS hw/virtio/Kconfig hw/virtio/meson.build +2 more+348 -00 replies
2/3hw/virtio: Add vhost-user-scmi-pci boilerplatehw/virtio/meson.build hw/virtio/vhost-user-scmi-pci.c+69 -00 replies
3/3tests/qtest: enable tests for virtio-scmiMAINTAINERS tests/qtest/libqos/meson.build tests/qtest/libqos/virtio-scmi.c +2 more+254 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchThomas Huth
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Add SCMI vhost-user VIRTIO device

This patch series adds a vhost-user VIRTIO device for SCMI. It's similar to other similar vhost-user VIRTIO devices.

I'm aware of the work in progress by Alex Bennée to simplify similar devices and avoid excessive code duplication. I think the SCMI device support doesn't bring anything special and it can be rebased on the given work if/once it is merged.

The device has been tested with a prototype rust-vmm based vhost-user-scmi daemon emulating a sensor device and a Linux guest OS (the production version of the vhost-user daemon is developed at
https://github.com/mz-pdm/vhost-device/tree/scmi).

v3:
- Rebased on master after one of the patches had been merged.
v2:
- A missing trailing space additionally added in the comment typo fix.
- A note about testing added above.

Milan Zamazal (3):
hw/virtio: Add boilerplate for vhost-user-scmi device hw/virtio: Add vhost-user-scmi-pci boilerplate tests/qtest: enable tests for virtio-scmi

 MAINTAINERS                         |   7 +
 hw/virtio/Kconfig                   |   5 +
 hw/virtio/meson.build               |   2 +
 hw/virtio/vhost-user-scmi-pci.c     |  68 +++++++
 hw/virtio/vhost-user-scmi.c         | 306 ++++++++++++++++++++++++++++
 include/hw/virtio/vhost-user-scmi.h |  30 +++
 tests/qtest/libqos/meson.build      |   1 +
 tests/qtest/libqos/virtio-scmi.c    | 174 ++++++++++++++++
 tests/qtest/libqos/virtio-scmi.h    |  34 ++++
 tests/qtest/vhost-user-test.c       |  44 ++++
 10 files changed, 671 insertions(+)
 create mode 100644 hw/virtio/vhost-user-scmi-pci.c
 create mode 100644 hw/virtio/vhost-user-scmi.c
 create mode 100644 include/hw/virtio/vhost-user-scmi.h
 create mode 100644 tests/qtest/libqos/virtio-scmi.c
 create mode 100644 tests/qtest/libqos/virtio-scmi.h
Signature · 1 line
2.40.1