Descriptionbuild/android/install_emulator_deps.py: run kvm-ok as root when needed.
This change runs kvm-ok as root after installing the kvm and qemu-kvm
packages to ensure that KVM can work. This gives better diagnostics in
case of failure, which can happen for one of the following reasons:
- The CPU doesn't support virtualization extensions.
- The extensions have been disabled by the BIOS.
BUG=NONE
R=yfriedman@chromium.org,navabi@chromium.org,tfarina@chromium.org,raphael.kubo.da.costa@intel.com
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241708
Patch Set 1 #
Total comments: 3
Patch Set 2 : Always run kvm-ok with sudo. #Patch Set 3 : Only run kvm-ok (as root) after installing packages, probe for /dev/kvm directly before that. #Messages
Total messages: 9 (0 generated)
|