Re: /dev/kvm permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andras Simon wrote:
When starting qemu-kvm as an ordinary user, I get

open /dev/kvm: Permission denied
Could not initialize KVM, will disable KVM support

Does that mean that it should be run by root (scary!) or that
/dev/kvm's permissions should be fixed? If the latter, does a simple
chmod suffice, or should one tamper with udev rules?

KVM allows the user opening the device to arbitrarily lock large amounts of RAM so that it can't be swapped. That's normally something you don't want ordinary users to be doing ...

http://thread.gmane.org/gmane.comp.emulators.kvm.devel/3770 has more information.

(Thanks to Dan Berrange who helped me to answer this question).

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux