From 55f21f743481dc44da6457757358262940b81286 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Fri, 5 Jun 2020 11:31:58 +0100 Subject: 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 Reviewed-by: Stephen Barber Commit-Queue: Stephen Barber Tested-by: Stephen Barber --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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`. -- cgit 1.4.1