2

When I open virt-manager GUI it doesn't show list of KVMs but virsh does. how can fix it?

4

Check the output of virsh uri. It it returns qemu:///session, but you're using a qemu:///system connection in Virt-Manager, you found the cause.

In order to fix it, you should either create a "QEMU/KVM user session" connection in virt-manager, or run virsh define ~/.config/libvirt/qemu/<filename>.xml as root. This will create the xml definition under /etc/libvirt/qemu which will then be picked up by virt-manager.

| improve this answer | |
  • 1
    To add "QEMU/KVM user session" in virt-manager, click File > Add Connection..., under "Hypervisor" select "QEMU/KVM user session", check "Autoconnect", and click "Connect". – Garrett Hyde Jan 16 at 17:56
2

If you see a connection for localhost (QEMU) listed, double click it.

If you don't see any connections listed, go to File > Add Connection, leave all the defaults set as they are, then click Add.

| improve this answer | |
  • I see localhost (QEMU), but double clicking only brings the details windows. I need to see VMs. Thanks – Zim3r Aug 17 '12 at 8:06
  • So it shows as Connected but you have no virtual machines listed? This would have been useful to know in the beginning. – Michael Hampton Aug 17 '12 at 8:12
  • Yes it's connected, and I have 5 VMs running but it doesn't show them, Thanks – Zim3r Aug 17 '12 at 8:15
  • some help please. – Zim3r Aug 17 '12 at 8:39
  • I can connect to virt-manager remotely and it works fine but locally there is problem – Zim3r Aug 17 '12 at 11:51
0

Try restarting you Machine. and see what's the result.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.