mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
34ed5bc4d8
Add unit tests for vhost-user-fs device mount, verifying successful mounting of vhost-user fs device with sandbox abled. Test without sandbox is not prepared, since the vhost-user-fs device need to run as root. A new test scenario(mount_rw) has been added to e2e test. This scenario mounts virtiofs in the guest, then verifies data by reading from the host's shared directory. It also creates a file in the guest, writes data to it, and has the host verify the written data. This scenario is tested using both in-process virtiofs and vhost-user-fs devices. Additionally, the copy_file functionality has been refactored into a separate scenario that runs on both virtio-fs and vhost-user-fs devices. BUG=b:355159487 TEST=tools/dev_container tools/presubmit Change-Id: Icc09355fee1aae464b98fa153a98cbdd4a9e117d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5746575 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Yuan Yao <yuanyaogoog@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |