Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic UNIX socket forwarding #47

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 6, 2024

  1. Add dynamic UNIX socket forwarding

    Unconditionally forward a range of ports to sockets named
    `$XDG_RUNTIME_DIR/krun/socket/port-$PORT`. This allows applications to
    dynamically bind to sockets at those paths and have them forwarded to
    the guest as vsock ports, after the krun VM is already running.
    
    The port range is currently hardcoded as 50000..50200.
    
    Signed-off-by: Asahi Lina <[email protected]>
    asahilina committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    cd1397a View commit details
    Browse the repository at this point in the history