Code Monkey home page Code Monkey logo

Comments (5)

jiangliu avatar jiangliu commented on June 3, 2024

We need to find macos counterparts for send fd with UDS and eventfd:)

from vhost.

slp avatar slp commented on June 3, 2024

Funny, right now I'm working on implementing macOS support on vmm-sys-util (which will enable vhost and vhost-user-backend to work on it too). Sending ancillary data (i.e. for sending fds) is supported on macOS, so it's just a matter of including the traits. As for eventfd and epoll, I'm emulating the first with pipefd and the second with kqueue. They aren't semantically identical, but they're close enough to allow daemons consuming vhost-user-backend to work properly.

from vhost.

jiangliu avatar jiangliu commented on June 3, 2024

The vmm_sys_util::sock_ctrl_msg related issues are solved by enhancing the vmm_sys_util, but the EventFd is problematic.

from vhost.

jiangliu avatar jiangliu commented on June 3, 2024

Funny, right now I'm working on implementing macOS support on vmm-sys-util (which will enable vhost and vhost-user-backend to work on it too). Sending ancillary data (i.e. for sending fds) is supported on macOS, so it's just a matter of including the traits. As for eventfd and epoll, I'm emulating the first with pipefd and the second with kqueue. They aren't semantically identical, but they're close enough to allow daemons consuming vhost-user-backend to work properly.

I have done a quick poc for sock_ctrl_msg:)

from vhost.

stefano-garzarella avatar stefano-garzarella commented on June 3, 2024

@slp @jiangliu any plan on working on this?

If you have some PoC to share, maybe this could become a good first issue for some Mac user.

from vhost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.