-   Linux - Virtualization and Cloud (
-   -   KVM administration through LibVirt from windows machine (

Mohan.Sundar 04-29-2011 10:38 AM

KVM administration through LibVirt from windows machine
Need assistance in using LibVirt API for communicating with hypervisor from windows.
For the same we have downloaded the latest Libvirt API Source

We also downloaded the Win32 Virsh (experimental) from for the same and installed in the windows machine.

Then we also tried to access the hypervisor from windows by giving the following command:

virsh -c qemu+tcp://

but received the following error:
error: unable to connect to libvirtd at '': Connection refused
error: failed to connect to the hypervisor

can you please let me know whether i am missing any settings in Client side or server side.

acid_kewpie 04-29-2011 11:42 AM

sounds like a firewall rule on the server initially.

Mohan.Sundar 04-29-2011 12:29 PM

Thanks for quick response.
But firewall is already disabled in Linux Server :(

Slax-Dude 05-03-2011 11:31 AM

If I understand correctly, you have 2 machines:
1) a linux server running some hypervisor and libvirt.
2) a windows machine with win32 virsh

Now, you want, from the windows machine, control the hypervisor running on the linux machine.

If this is correct, the command in the windows machine should be:

virsh -c qemu+tcp://ip_address_of_the_linux_machine/system

All times are GMT -5. The time now is 07:14 AM.