mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
This CL adds a vhost user FS device to crosvm. The implementation requires the following arguments: --socket = a path to a unix socket crosvm is going to connect to --tag = a virtio fs tag to mount within the VM --shared-dir = path to the shared directory Optional arguments are: --uid-map = UID translation from inside the VM to the outside --gid-map = GID translation from inside the VM to the outside Example command: crosvm device fs --socket $HOME/test --tag fs-tag --shared-dir $DIR crosvm run --vhost-user-fs=$HOME/test:fs-tag ... BUG=b:179636297 TEST=launch fs device and verified that mounted directory works Change-Id: Icab9e4be65092ef817006408b50bb3bf35033c62 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3062161 Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Morg <morg@chromium.org> Commit-Queue: Morg <morg@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |