Hi, I am trying to find a way to run kvm (qemu_system) without sudo, at user's privileges.
So far, I saw two things where root privileges were needed: 1. Adjusting RTC - can be done once 2. Access to /dev/kvm: I created a group named "vm", chowned /dev/kvm to root.vm, and added the user to the vm group. Now qemu_system does not complain and runs the virtual machine under user's privileges. The qemu_system executable is not even suid-root I use kvm-17 with 2.6.21 kernel from ArchLinux distro. Am I missing anything else root privileges might be needed for? There was a discussion about qemu itself not capable to set up tun/tap (I haven't tested the networking yet), but there was some solution proposed to use the capabilities mechanism, or to pre-create the tuntap device: http://www.kidsquid.com/cgi-bin/moin.cgi/FrequentlyAskedQuestions http://www.friedhoff.org/fscaps.html#Qemu I intend running kvm for users that remotely login on the kvm host, and ability to get rid of any sudo stuff would be much desired. Thanks. -- Dimitry Golubovsky Anywhere on the Web ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel