[libvirt-users] qemu:///system and qemu:///session

Hi, I try to connect from virsh -c qemu:///session and it shows the VMs created by by that particular user (testuser). But when i try from root virsh -c qemu:///system i don't see the vms created by testuser. How do i make it appear in the root's virsh ie the vms created by testuser ? I need this because i need information for global VM statistics created by all users. Can someone help me regarding this ? Regards, Navin

On 09/16/2014 08:22 AM, navin p wrote:
Hi, I try to connect from virsh -c qemu:///session and it shows the VMs created by by that particular user (testuser). But when i try from root virsh -c qemu:///system i don't see the vms created by testuser. How do i make it appear in the root's virsh ie the vms created by testuser ?
You can't. The two are completely separate realms.
I need this because i need information for global VM statistics created by all users.
The only way to do that is have all users must use qemu:///system; you can use fine-grain ACLs to ensure that users can't step on resources they are not entitled to. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
navin p