I would like to allow a user (non-root) to access the console of his VM (he's got root access on it).
Using sudo doesn't seem to work:
/bin/virsh console vm
error: failed to get domain 'vm'
error: Domain not found: no domain with matching name 'vm'
If I assign suid to virsh, I get: 'error: Failed to initialize libvirt'
I don't see any information on Internet about this.
What is the procedure to follow to get this result (QEMU conf, libvirt conf, etc)?