Hello
When doing a virsh capabilities with root i get a different output than
when issuing the command with my own unprivileged account roadrunner.
Furthermore the first issuing of the command as roadrunner throws a
error-message.
Restarting of the libvirt-daemon gives the correct output.
Sample:
Last login: Wed May 6 21:00:56 2009 from 192.168.1.120
[root@rr018 ~]# virsh capabilities|grep kvm
[root@rr018 ~]# su - roadrunner
[roadrunner@rr018 ~]$ virsh capabilities|grep kvm
libvir: Remote Fehler : unable to connect to
'(a)/home/roadrunner/.libvirt/libvirt-sock': Verbindungsaufbau abgelehnt
Fehler: Verbindung zum Hypervisor scheiterte
Failed to bind socket to '(a)/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '(a)/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '(a)/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
Failed to bind socket to '(a)/home/roadrunner/.libvirt/libvirt-sock':
Address already in use
^C
[roadrunner@rr018 ~]$ virsh capabilities|grep kvm
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
<domain type='kvm'>
[roadrunner@rr018 ~]$ exit
logout
[root@rr018 ~]# virsh capabilities|grep kvm
[root@rr018 ~]# /etc/init.d/libvirtd restart
libvirtd-Daemon beenden: [ OK ]
libvirtd-Daemon starten: [ OK ]
[root@rr018 ~]# virsh capabilities|grep kvm
<domain type='kvm'>
<emulator>/usr/bin/kvm</emulator>
<domain type='kvm'>
[root@rr018 ~]#