lima-vm/socket_vmnet

vmnet.framework support for unmodified rootless QEMU (no dependency on VDE)

Hosted by Cloud Native Computing Foundation · part of Linux Foundation

View on GitHub ↗Jump to charts ↓

lima-vm/socket_vmnet has 150+ stars and 20+ forks on GitHub, is written in C, and was last pushed on Sep 8, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 12 minutes ago
Added to GitGenius on October 15th, 2026
Created on May 10th, 2022
Open Issues & Pull Requests: 20 (+0)
GitHub issues: Enabled
Number of forks: 27
Total Stargazers: 179 (+0)
Total Subscribers: 5 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.2 days
Mean response time: 64.3 days
90th percentile: 116.6 days
Tracked items: 36

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 767 days
Stale 30+ days: 18
Stale 90+ days: 15

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (12)
  • enhancement (8)
  • good first issue (8)
  • bug (7)
  • documentation (5)
  • kind/test (5)
  • kind/performance (3)
  • priority/low (3)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

socket_vmnet is a networking bridge that provides vmnet.framework support for rootless QEMU on macOS without requiring VDE as a dependency.

The tool solves the problem of running QEMU virtual machines with native macOS networking capabilities while keeping QEMU itself unprivileged. It bridges QEMU to vmnet.framework, Apple's native virtualization networking API, by running as a privileged daemon that handles the framework interaction. This eliminates the need for QEMU to run as root and removes the dependency on VDE, a separate virtual networking layer. The tool was forked from vde_vmnet and reimplemented to communicate directly with vmnet.framework through Unix sockets.

Developers should choose this tool if they are running QEMU on macOS and want to leverage native networking without the complexity of VDE or the security implications of running QEMU as root. It suits projects using Lima, Tart, or direct QEMU invocation that need reliable network connectivity. The README distinguishes it from vde_vmnet by its removal of the VDE dependency and from QEMU's built-in vmnet support by offering an alternative implementation path. The tool supports advanced configurations including multi-VM setups and bridged mode networking, and can be installed via binary, source compilation, Homebrew, or MacPorts.

The project maintains active engagement with its user base through comprehensive documentation addressing common questions about privilege requirements, static IP configuration, and DHCP reservation. Development includes support for launchd service installation to run socket_vmnet as a system daemon, with configurable socket paths and gateway addresses. The codebase is written in C and targets macOS 10.15 or later, with installation guidance emphasizing security best practices around file permissions and prefix directories.