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

Eric Blake eblake at redhat.com
Tue Sep 16 20:13:34 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140916/2882b322/attachment.sig>


More information about the libvirt-users mailing list