mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-17 05:31:16 +08:00
Introduce the navigator-gateway crate with safe Rust wrappers over the libkrun C FFI, enabling lightweight microVM execution via Apple Hypervisor.framework (macOS) or KVM (Linux). Key components: - navigator-gateway crate: KrunContextBuilder with RAII, ~15 FFI bindings, support for virtio-fs, console redirect, TSI control, and gvproxy virtio-net networking - nav gateway run: ad-hoc microVM execution (direct enter model) - nav gateway cluster: boots k3s inside a microVM with gvproxy networking, automatic rootfs extraction from Docker images, and port forwarding via gvproxy HTTP API - vm-init.sh: guest bootstrap script with DHCP networking, noop CNI plugin (kernel lacks bridge module), and tmpfs-backed k3s data dir - macOS codesigning with com.apple.security.hypervisor entitlement via auto-signing in scripts/bin/nav - navigator-cli build.rs for libkrun/libkrunfw rpath resolution