Hi,
      I have a code :


import libvirt
con = libvirt.openReadOnly(None)
print con.listDomainsID()


When i run the above code using root i get the proper output... but when i use non-root user it givers be a empty list [ ]

If i change the 2nd line to

con = libvirt.open(qemu:///system)
It works.


I am using RHEL 6.1 with default kvm and libvirt.

unix_sock_group = "virt"   in libvirtd.conf   where virt is a group of non-root user

group = "virt"  in qemu.conf    is set.



Any Ideas????


--
Thanks 

Vipul Borikar
"Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty."