[CentOS] kvm as non-root user

Sat Jul 3 11:58:06 UTC 2010
David McGuffey <davidmcguffey at verizon.net>

Yes, I already get that output.  I also made sure that the xml scripts
and the VM images are not root:root, but root:kvm.

I'm using the Virtual Machine Manager GUI as the interface...that is
where I get challenged for the root pw.  Maybe I need to go to create a
script that runs qemu-kvm as the regular user to start the VMs.

Dave M

On Fri, 2010-07-02 at 18:09 +0530, Arun Khan wrote:
> On Fri, Jul 2, 2010 at 4:24 PM, David McGuffey
> <davidmcguffey at verizon.net> wrote:
> > Tried as I might, I cannot get kvm on CentOS 5.4 to run as a non-root
> > user.
> 
> Post the error message.
> 
> > Have Googled and followed guidance I've found (put the regular
> > user in the kvm group, change permissions on several files, etc.).
> >
> > Anyone have decent (e.g., working) guidance on how to do this?
> 
> The output of "ls -l /dev/kvm" should be like this:
> 
> crw-rw----+ 1 root kvm 10, 232 2010-07-02 09:27 /dev/kvm
> 
> I have not had to do anything special as long as the non root user is
> member of "kvm" group.
> 
> HTH
> -- Arun Khan
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos