Skip to content

Enable vhost-user to be used on BSD systems

Sergio Lopez kvm qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review
  2. v34 patches 5 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches14 repliesSuperseded

Changes in v4 from the cover letter

- Some documentation fixes. (Stefan Hajnoczi)
- Pick up Reviewed-by tags.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4event_notifier: add event_notifier_get_wfd()include/qemu/event_notifier.h util/event_notifier-posix.c+6 -00 replies
2/4vhost: use wfd on functions setting vring call fdhw/virtio/vhost.c+3 -30 replies
3/4configure, meson: allow enabling vhost-user on all POSIX systemsconfigure meson.build+3 -31 reply
4/4docs: vhost-user: add subsection for non-Linux platformsdocs/interop/vhost-user.rst+20 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan HajnocziThomas Huth
SeriesR-b
1/4R-b
2/4R-b
3/4R-b R-b
4/4R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] Enable vhost-user to be used on BSD systems

Since QEMU is already able to emulate ioeventfd using pipefd, we're already pretty close to supporting vhost-user on non-Linux systems.

This two patches bridge the gap by:

1. Adding a new event_notifier_get_wfd() to return wfd on the places where the peer is expected to write to the notifier.

2. Modifying the build system to it allows enabling vhost-user on BSD.

v1->v2:
- Drop: "Allow returning EventNotifier's wfd" (Alex Williamson)
- Add: "event_notifier: add event_notifier_get_wfd()" (Alex Williamson)
- Add: "vhost: use wfd on functions setting vring call fd"
- Rename: "Allow building vhost-user in BSD" to "configure, meson: allow enabling vhost-user on all POSIX systems"
- Instead of making possible enabling vhost-user on Linux and BSD systems, allow enabling it on all non-Windows platforms. (Paolo Bonzini)

v2->v3:
- Add a section to docs/interop/vhost-user.rst explaining how vhost-user is supported on non-Linux platforms. (Stefan Hajnoczi)

v3->v4:
- Some documentation fixes. (Stefan Hajnoczi)
- Pick up Reviewed-by tags.

Sergio Lopez (4):
event_notifier: add event_notifier_get_wfd()
vhost: use wfd on functions setting vring call fd configure, meson: allow enabling vhost-user on all POSIX systems
docs: vhost-user: add subsection for non-Linux platforms

 configure                     |  4 ++--
 docs/interop/vhost-user.rst   | 20 ++++++++++++++++++++
 hw/virtio/vhost.c             |  6 +++---
 include/qemu/event_notifier.h |  1 +
 meson.build                   |  2 +-
 util/event_notifier-posix.c   |  5 +++++
 6 files changed, 32 insertions(+), 6 deletions(-)
Signature · 1 line
2.35.1