I just found this fix from another distro where this same thing happened way back in 2009, but should work for this now...
- Create the file /etc/udev/rules.d/65-kvm.rules as root
- Put the following line inside this file: KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"
- Reload rules with udevadm control --reload-rules && udevadm trigger
- With an user that is member of kvm group, try to execute qemu with the -enable-kvm option.
Updated to what is current now You could try this:
Code:
sudo echo -d 'KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"' > /etc/udev/rules.d/65-kvm.rules
sudo udevadm control --reload-rules && sudo udevadm trigger --action=change
sudo update-initramfs -u
The first line should create the file with those contents. You could always just open an editor with elevated permissions and do the same...And save it to the same path and filename.
The next line would reload udev without a reboot...
The 3rd will add the new udev rules to the boot image.
That should exclusively claim /dev/kvm as root:kvm
Bookmarks