Thanks Martin, it resolved my issue. I had to adapt my setup to allow the 
non-root user to use libvirt!

-----Original Message-----
From: Martin Kletzander [mailto:mklet...@redhat.com] 
Sent: mardi 28 février 2017 19:07
To: EL FATHI Youssef OBS/OINIS <youssef.elfa...@orange.com>
Cc: libvirt-users@redhat.com
Subject: Re: [libvirt-users] Redhat 7: cgroup CPUACCT controller is not mounted

On Tue, Feb 28, 2017 at 03:22:54PM +0000, youssef.elfa...@orange.com wrote:
>Thanks Martin to confirm that the issue is due to privilege access. How can I 
>run a domain as non-root and be able to access the cpu information?
>

You need to use the system libvirt daemon, so you need to connect to 
qemu:///system instead of qemu:///session.  Good write-up about the differences 
is here:

  http://blog.wikichoon.com/2016/01/qemusystem-vs-qemusession.html

There are also links to more info.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to