Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 633388

Summary: Android Studio does not allow users to run AVDs due to KVM permissions.
Product: Gentoo Linux Reporter: Mark I Manning IV <mark4th>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark I Manning IV 2017-10-03 16:16:35 UTC
Android studio comes with its own built in version of QEMU (because google is special).  If someone installs android-studio but does not install qemu or does not already have it installed then the udev rules for kvm will be missing.  

Any attempt to run an AVD will be met with permission denied errors on /dev/kvm.

The android-studio ebuild should borrow the udev rules from the qemu ebuild and install them into /lib/udev/rules.d/ just as if qemu had been installed.

I shall leave it up to the gentoo devs as to how best to resolve any potential conflicts here :)
Comment 1 Jonas Stein gentoo-dev 2017-10-19 07:49:55 UTC
please add cat/pkg to the title.