From 518837d554f9515ff583ecbdd36731c4c336abdb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 19 Apr 2016 22:36:46 -0400 Subject: app-emulation/qemu: mention /dev/kvm perm updates in the readme/elog #580436 --- app-emulation/qemu/qemu-2.5.0-r3.ebuild | 11 +++++++---- app-emulation/qemu/qemu-9999.ebuild | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app-emulation/qemu/qemu-2.5.0-r3.ebuild b/app-emulation/qemu/qemu-2.5.0-r3.ebuild index 5d591dd8f4b2..755f5a68f56d 100644 --- a/app-emulation/qemu/qemu-2.5.0-r3.ebuild +++ b/app-emulation/qemu/qemu-2.5.0-r3.ebuild @@ -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 kvm', then have re-login." +Just run 'gpasswd -a kvm', then have 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 \ diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index acecad8c9d37..1e96a7bcd129 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -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 kvm', then have re-login." +Just run 'gpasswd -a kvm', then have 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 \ -- cgit v1.2.3-65-gdbad