You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent:#836 (#833). Needs: stage 1 (#834), and #540 in NVX's OpenVMM pin. Removes: one directory export per clone.
Goal. A clone exports what a cold boot exports: an aggregate of up to 256 host directories and files, each read-only or read-write, with OpenVMM's hidden, re-exposed and writable paths and the owner mode.
filesystem::plan builds every sandbox's ExportPlan as an aggregate: one child per outermost mapped directory, and one per mapped file outside them (nvx-rs/src/host/filesystem.rs:1-35, :145-188). A cold launch attaches it with --mount-aggregate and --mount-child, and MAPS binds <child>/<path> sources (:200-230).
Guest: no change. It mounts the filesystem tag at its agent-only root, and MAPS binds the host's sources, as at a cold boot.
Record: no change. The export plan's identity covers its children, and the mapping count stays 1 to 4,096.
Tests, in the test adapter's CI hook on KVM, MSHV and WHP:
one template restored with an aggregate of several directories and a file, read-only and read-write children, and hidden and re-exposed paths;
a mapped object that changed since planning, refused before launch;
a clone without an export keeps the slot dormant.
Guide (#591's numbering): 2.1.4 (the export at restore), 3.6.2, 3.6.9 and 3.6.10 (an aggregate on the dormant slot). The interim rule leaves the guide.
Done when: merged, with the interim rule's tests replaced by these.
Activity
runtime-adapter: show hidden paths again, and pause a start once checked
runtime-adapter: restore clones with aggregate exports, in VMs
runtime-adapter: show hidden paths again, and pause a start once checked
runtime-adapter: restore clones with aggregate exports, in VMs
runtime-adapter: show hidden paths again, and pause a start once checked
runtime-adapter: restore clones with aggregate exports, in VMs