Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 04-29-2011, 11:38 AM   #1
LQ Newbie
Registered: May 2010
Posts: 15

Rep: Reputation: 0
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.
Old 04-29-2011, 12:42 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
sounds like a firewall rule on the server initially.
Old 04-29-2011, 01:29 PM   #3
LQ Newbie
Registered: May 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for quick response.
But firewall is already disabled in Linux Server
Old 05-03-2011, 12:31 PM   #4
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 434

Rep: Reputation: 188Reputation: 188
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM / QEMU and NAT on the host machine (mini-tutorial) heby Linux - Networking 5 05-16-2012 11:17 AM
LXer: Set up Ubuntu 11.04 KVM to run is spice session on Fedora 14 KVM Server ( Libvirt Preview Env) LXer Syndicated Linux News 0 03-20-2011 01:00 AM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 01:21 PM
arghh! One interface works and one doesn't in kvm virtual machine TuPari Linux - Networking 0 08-05-2009 01:36 AM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 03:51 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration