All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable vhost-user to be used on BSD systems
@ 2022-03-02 11:36 ` Sergio Lopez
  0 siblings, 0 replies; 34+ messages in thread
From: Sergio Lopez @ 2022-03-02 11:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: vgoyal, Fam Zheng, kvm, Alex Williamson, Jagannathan Raman,
	Cornelia Huck, Halil Pasic, qemu-block, Christian Borntraeger,
	Michael S. Tsirkin, David Hildenbrand, Paolo Bonzini,
	Eric Farman, Hanna Reitz, Stefan Hajnoczi, Elena Ufimtseva,
	Kevin Wolf, Philippe Mathieu-Daudé,
	Richard Henderson, qemu-s390x, Matthew Rosato, John G Johnson,
	Thomas Huth, Sergio Lopez

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. Extending event_notifier_get_fd() to be able to return wfd when needed.

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

Sergio Lopez (2):
  Allow returning EventNotifier's wfd
  Allow building vhost-user in BSD

 accel/kvm/kvm-all.c                     | 12 +++----
 block/linux-aio.c                       |  2 +-
 block/nvme.c                            |  2 +-
 configure                               |  5 +--
 contrib/ivshmem-server/ivshmem-server.c |  5 +--
 hw/hyperv/hyperv.c                      |  2 +-
 hw/misc/ivshmem.c                       |  2 +-
 hw/remote/iohub.c                       | 13 +++----
 hw/remote/proxy.c                       |  4 +--
 hw/vfio/ccw.c                           |  4 +--
 hw/vfio/pci-quirks.c                    |  6 ++--
 hw/vfio/pci.c                           | 48 +++++++++++++------------
 hw/vfio/platform.c                      | 16 ++++-----
 hw/virtio/vhost.c                       | 10 +++---
 include/qemu/event_notifier.h           |  2 +-
 meson.build                             |  2 +-
 target/s390x/kvm/kvm.c                  |  2 +-
 util/aio-posix.c                        |  4 +--
 util/event_notifier-posix.c             |  5 ++-
 util/vfio-helpers.c                     |  2 +-
 20 files changed, 79 insertions(+), 69 deletions(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2022-03-02 19:28 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 11:36 [PATCH 0/2] Enable vhost-user to be used on BSD systems Sergio Lopez
2022-03-02 11:36 ` Sergio Lopez
2022-03-02 11:36 ` [PATCH 1/2] Allow returning EventNotifier's wfd Sergio Lopez
2022-03-02 11:36   ` Sergio Lopez
2022-03-02 15:12   ` Alex Williamson
2022-03-02 15:12     ` Alex Williamson
2022-03-02 15:23     ` Sergio Lopez
2022-03-02 15:23       ` Sergio Lopez
2022-03-02 15:38       ` Alex Williamson
2022-03-02 15:38         ` Alex Williamson
2022-03-02 16:06       ` Stefan Hajnoczi
2022-03-02 16:06         ` Stefan Hajnoczi
2022-03-02 17:09         ` Paolo Bonzini
2022-03-02 17:09           ` Paolo Bonzini
2022-03-02 11:36 ` [PATCH 2/2] Allow building vhost-user in BSD Sergio Lopez
2022-03-02 11:36   ` Sergio Lopez
2022-03-02 17:10   ` Paolo Bonzini
2022-03-02 17:10     ` Paolo Bonzini
2022-03-02 17:18     ` Philippe Mathieu-Daudé
2022-03-02 17:18       ` Philippe Mathieu-Daudé
2022-03-02 17:31       ` Sergio Lopez
2022-03-02 17:31         ` Sergio Lopez
2022-03-02 17:38         ` Philippe Mathieu-Daudé
2022-03-02 17:38           ` Philippe Mathieu-Daudé
2022-03-02 17:49           ` Sergio Lopez
2022-03-02 17:49             ` Sergio Lopez
2022-03-02 17:55           ` Daniel P. Berrangé
2022-03-02 17:55             ` Daniel P. Berrangé
2022-03-02 19:22             ` Philippe Mathieu-Daudé
2022-03-02 19:22               ` Philippe Mathieu-Daudé
2022-03-02 18:05           ` Paolo Bonzini
2022-03-02 18:05             ` Paolo Bonzini
2022-03-02 18:26             ` Daniel P. Berrangé
2022-03-02 18:26               ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.