app-emulation/qemu: mention /dev/kvm perm updates in the readme/elog #580436
authorMike Frysinger <vapier@gentoo.org>
Wed, 20 Apr 2016 02:36:46 +0000 (22:36 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 20 Apr 2016 02:36:46 +0000 (22:36 -0400)
app-emulation/qemu/qemu-2.5.0-r3.ebuild
app-emulation/qemu/qemu-9999.ebuild

index 5d591dd8f4b2a48d36c474be408bdc34b7da004f..755f5a68f56dfa64675e012d1babd3655b37a4b6 100644 (file)
@@ -214,11 +214,14 @@ QA_WX_LOAD="usr/bin/qemu-i386
 DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
 you have the kernel module loaded before running kvm. The easiest way to
 ensure that the kernel module is loaded is to load it on boot.\n
-For AMD CPUs the module is called 'kvm-amd'\n
-For Intel CPUs the module is called 'kvm-intel'\n
-Please review /etc/conf.d/modules for how to load these\n\n
+For AMD CPUs the module is called 'kvm-amd'.\n
+For Intel CPUs the module is called 'kvm-intel'.\n
+Please review /etc/conf.d/modules for how to load these.\n\n
 Make sure your user is in the 'kvm' group\n
-Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
+Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
+For brand new installs, the default permissions on /dev/kvm might not let you
+access it.  You can tell udev to reset ownership/perms:\n
+udevadm trigger -c add /dev/kvm"
 
 qemu_support_kvm() {
        if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
index acecad8c9d37fc65d92f560f9e13d3e9ab2f541a..1e96a7bcd129cde8e1394fb5db4e0a824e5fda37 100644 (file)
@@ -214,11 +214,14 @@ QA_WX_LOAD="usr/bin/qemu-i386
 DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
 you have the kernel module loaded before running kvm. The easiest way to
 ensure that the kernel module is loaded is to load it on boot.\n
-For AMD CPUs the module is called 'kvm-amd'\n
-For Intel CPUs the module is called 'kvm-intel'\n
-Please review /etc/conf.d/modules for how to load these\n\n
+For AMD CPUs the module is called 'kvm-amd'.\n
+For Intel CPUs the module is called 'kvm-intel'.\n
+Please review /etc/conf.d/modules for how to load these.\n\n
 Make sure your user is in the 'kvm' group\n
-Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
+Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
+For brand new installs, the default permissions on /dev/kvm might not let you
+access it.  You can tell udev to reset ownership/perms:\n
+udevadm trigger -c add /dev/kvm"
 
 qemu_support_kvm() {
        if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \