diff options
author | Andrew Walbran <qwandor@google.com> | 2020-06-05 11:31:58 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-05 19:28:30 +0000 |
commit | 55f21f743481dc44da6457757358262940b81286 (patch) | |
tree | 90369d1e7238452c4252a8d4e543fa26ed37782f | |
parent | e187df2a5e4cb1a99b440552c5d4165cc3d245eb (diff) | |
download | crosvm-55f21f743481dc44da6457757358262940b81286.tar crosvm-55f21f743481dc44da6457757358262940b81286.tar.gz crosvm-55f21f743481dc44da6457757358262940b81286.tar.bz2 crosvm-55f21f743481dc44da6457757358262940b81286.tar.lz crosvm-55f21f743481dc44da6457757358262940b81286.tar.xz crosvm-55f21f743481dc44da6457757358262940b81286.tar.zst crosvm-55f21f743481dc44da6457757358262940b81286.zip |
README: Document permissions needed for running.
Change-Id: Ia86cb49ffc89ad66fe67698e05968e6d6f19f743 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2231364 Auto-Submit: Andrew Walbran <qwandor@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Stephen Barber <smbarber@chromium.org> Tested-by: Stephen Barber <smbarber@chromium.org>
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md index f2d72aa..f23e208 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,11 @@ Known issues: policies [into the crosvm binary](http://crbug.com/1052126). * Devices can't be jailed if `/var/empty` doesn't exist. `sudo mkdir -p /var/empty` to work around this for now. +* You need read/write permissions for `/dev/kvm` to run tests or other crosvm + instances. Usually it's owned by the `kvm` group, so `sudo usermod -a -G kvm + $USER` and then log out and back in again to fix this. +* Some other features (networking) require `CAP_NET_ADMIN` so those usually + need to be run as root. And that's it! You should be able to `cargo build/run/test`. |