Summary: | qemu-0.10.5 needs kvm udev rule to set permissions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Williams <davidjw> |
Component: | Current packages | Assignee: | Gentoo QEMU Project <qemu+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jcdemay, jesse |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Williams
2009-08-24 19:19:19 UTC
(In reply to comment #0) > qemu doesn't include a udev rule to set the permissions on /dev/kvm. Without > this you can't use qemu -enable-kvm unless you are root or you set the > permissions manually. I've just run into this too ... :-( > I put the udev rule file 65-kvm.rules from the kvm build into > /etc/udev/rules.d/ and it works fine. Just for convenience the file contains: > > KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660" but the current qemu (0.11.0) nor any package that got installed along on my system does not create the "kvm" group, so the above rule is not enough I've chosen to go with the "qemu" group, which got created, and adding the rule KERNEL=="kvm", NAME="%k", GROUP="qemu", MODE="0660" into 48-qemu.rules plus the user being in the qemu group works just fine for me Do you still have this issue with the latest qemu-kvm version in the tree? I don't know about the latest qemu-kvm in the tree, but the lastest qemu (which also provides kvm) still lacks this file. qemu-kvm-0.12.4 contains a udev rule and works fine for me. (In reply to comment #2) > Do you still have this issue with the latest qemu-kvm version in the tree? um, should we read that as "'USE=kvm emerge qemu' is dead, long live 'emerge qemu-kvm'"? I am a bit confused about relation of these two ... (In reply to comment #5) > (In reply to comment #2) > > Do you still have this issue with the latest qemu-kvm version in the tree? > > um, should we read that as "'USE=kvm emerge qemu' is dead, long live 'emerge > qemu-kvm'"? > > I am a bit confused about relation of these two ... Everything is now all back in app-emulation/qemu so rejoice that the confusion is fixed. udev rules are all in place and everything now works. |