minimega/ron/miniccc: add ufs to miniccc #1108
Merged
Conversation
For `cc mount`.
Initial work to expose the guest's filesystem via the cc connection and 9p. Requires tunneling yet another thing over the cc connection. Tested and hung on the mount command... need to investigate.
Windows support.
Seems to work, need to do some refactoring on the ninep side and then refactor this too.
Bump the vendored ninep code to post-refactored version. Update minimega/ron/miniccc accordingly.
Mount a guest filesystem across the network to the node that runs the command via `cc mount <uuid> ...`. Need to fix `cc mount` listing and probably move the ccMounts into the namespace struct so that they are namespace-aware.
Move ccMounts into the namespace struct so that cc mount is namespace-aware. Add `clear cc mount` to unmount things. Adding locking to prevent potential races.
Make clear cc clean up cc mounts. Change mount to read-only. Abort if the destination for the mount does not exist.
Not really integrated into tutorial...
Merge in the latest ninep code, update miniccc accordingly.
Drop the read-only flag since we can now write (and it didn't seem to work). Clean up mounts when we destroy the namespace. Probably need to also clean up the mounts when we kill a VM...
TODO: unmount if the VM is killed? |
To fix Windows build.
Make it clear that mounts should be unmounted before the VM is killed.
LGTM - what could go wrong? |
85cf7f7
into
sandia-minimega:master
1 check passed
1 check passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Exposes the guest filesystem to the host over the cc connection.