[libvirt] Communicating with libvirt from windows

Hi, I have KVM running on one of my machine and I can controle the geues OS using the virt-manager and Virsh tools. Now what I want to do is talk to libvirt from my windows machine. I tried to compile libvirt for windows but couldnt get any success with that. Is there a way by which i can talk to libvirt without this client..?? As in can i talk to libvirt over TCP sockets using xml (something like that)...?? Thanks a lot in advance. Regards Anuj

On Mon, Aug 24, 2009 at 03:47:23PM +0530, anuj rampal wrote:
Hi,
I have KVM running on one of my machine and I can controle the geues OS using the virt-manager and Virsh tools.
Now what I want to do is talk to libvirt from my windows machine.
I tried to compile libvirt for windows but couldnt get any success with that.
FYI, the remote client binary will build fine under Mingw32 using the following args PKG_CONFIG_PATH="/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \ CC="i686-pc-mingw32-gcc" \ ./configure \ --build=i386-pc-linux \ --host=i686-pc-mingw32 \ --prefix="/usr/i686-pc-mingw32/sys-root/mingw" \ --without-sasl \ --without-avahi \ --without-polkit \ --without-python \ --without-xen \ --without-qemu \ --without-lxc \ --without-uml \ --without-vbox \ --without-openvz \ --without-one \ --without-phyp \ --without-netcf \ --without-libvirtd
Is there a way by which i can talk to libvirt without this client..??
No, the only supported option is using the libvirt client. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On 24/08/09 11:58, Daniel P. Berrange wrote:
On Mon, Aug 24, 2009 at 03:47:23PM +0530, anuj rampal wrote:
Hi,
I have KVM running on one of my machine and I can controle the geues OS using the virt-manager and Virsh tools.
Now what I want to do is talk to libvirt from my windows machine.
I tried to compile libvirt for windows but couldnt get any success with that.
FYI, the remote client binary will build fine under Mingw32 using the following args
PKG_CONFIG_PATH="/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \ CC="i686-pc-mingw32-gcc" \ ./configure \ --build=i386-pc-linux \ --host=i686-pc-mingw32 \ --prefix="/usr/i686-pc-mingw32/sys-root/mingw" \ --without-sasl \ --without-avahi \ --without-polkit \ --without-python \ --without-xen \ --without-qemu \ --without-lxc \ --without-uml \ --without-vbox \ --without-openvz \ --without-one \ --without-phyp \ --without-netcf \ --without-libvirtd
Is there a way by which i can talk to libvirt without this client..??
No, the only supported option is using the libvirt client.
Daniel
Slightly tangential to the original question - is there a way of building virt-manager under mingw32 now? Adam

On Monday 24 August 2009 12:17:23 anuj rampal wrote:
Hi,
I have KVM running on one of my machine and I can controle the geues OS using the virt-manager and Virsh tools.
Now what I want to do is talk to libvirt from my windows machine.
I tried to compile libvirt for windows but couldnt get any success with that. Hi Anuj,
Try this: http://libvirt.org/windows.html , it should work with that. Regards, Pritesh
participants (4)
-
Adam Huffman
-
anuj rampal
-
Daniel P. Berrange
-
Pritesh Kothari