Message ID | 20220302180318.28893-1-slp@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | Enable vhost-user to be used on BSD systems | expand |
On Wed, Mar 02, 2022 at 07:03:15PM +0100, Sergio Lopez wrote: > 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. Please update the vhost-user protocol specification. It mentions eventfd and there needs to be a note explaining how pipes are used instead on non-Linux platforms. Stefan