ocaml-libvirt ---------------------------------------------------------------------- Copyright (C) 2007-2008 Richard W.M. Jones, Red Hat Inc. http://libvirt.org/ocaml/ http://libvirt.org/ 'virt-ctrl' (originally called 'mlvirtmanager') is a reimplementation of virt-manager in OCaml. It is not feature-complete by any means, but does allow you to show the running domains and start and stop defined domains. The main functionality _missing_ is the ability to define new virtual machines, change the resources allocated to domains, or show the machine console. Building ---------------------------------------------------------------------- ./configure # Checks that you have all the required bits. make all # Builds the bytecode version of libs/programs. make opt # Builds the native code version of libs/programs. make install # Install in OCaml directory, and the binaries # in $prefix/bin. Then have a look at the program 'virt-ctrl.opt'. Windows ---------------------------------------------------------------------- I have built libvirt (the bindings), examples, mlvirsh and virt-ctrl on Windows using the MinGW port of OCaml. It's quite likely that it will also work under VC++, but I have not tested this. You should make sure that your $PATH (environment variable) contains the names of the directories containing all required DLLs, in particular you will require: libvirt-*.dll (from libvirt) libgnutls-*.dll (from GnuTLS) libgcrypt-*.dll libgpg-error-*.dll libtasn1-*.dll libxdr.dll (from libxdr) libxml2-*.dll (from libxml2) and, a multitude of DLLs from GTK if you want to run virt-ctrl You can use a tool such as Dependency Walker to find/check the locations of dependent libraries. To build the Windows installer, you will need NSIS. Then do: ./configure --with-nsis=/c/Progra~1/NSIS make all opt make wininstaller This should build a Windows binary installer called ocaml-libvirt-$VERSION.exe which includes the bindings, all required DLLs and all programs that can be built under Windows.