From: Milan Zamazal <mzamazal@redhat.com>
To: qemu-devel@nongnu.org
Cc: Milan Zamazal <mzamazal@redhat.com>,
mst@redhat.com, stefanha@redhat.com, alex.bennee@linaro.org,
thuth@redhat.com, vincent.guittot@linaro.org
Subject: [PATCH v3 0/3] Add SCMI vhost-user VIRTIO device
Date: Wed, 28 Jun 2023 12:05:21 +0200 [thread overview]
Message-ID: <20230628100524.342666-1-mzamazal@redhat.com> (raw)
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
--
2.40.1
next reply other threads:[~2023-06-28 10:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 10:05 Milan Zamazal [this message]
2023-06-28 10:05 ` [PATCH v3 1/3] hw/virtio: Add boilerplate for vhost-user-scmi device Milan Zamazal
2023-06-28 10:05 ` [PATCH v3 2/3] hw/virtio: Add vhost-user-scmi-pci boilerplate Milan Zamazal
2023-06-28 10:05 ` [PATCH v3 3/3] tests/qtest: enable tests for virtio-scmi Milan Zamazal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230628100524.342666-1-mzamazal@redhat.com \
--to=mzamazal@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=vincent.guittot@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).