2013-05-03 14:25:37 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2008-04-23 17:08:31 +00:00
|
|
|
<body>
|
|
|
|
<h1 >Bindings for other languages</h1>
|
2010-10-23 21:06:01 +00:00
|
|
|
|
|
|
|
<p>
|
2010-10-27 03:17:38 +00:00
|
|
|
Libvirt supports C and C++ directly, and has bindings available
|
|
|
|
for other languages:
|
2010-10-23 21:06:01 +00:00
|
|
|
</p>
|
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
<ul>
|
2010-10-23 21:06:01 +00:00
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<strong>C#</strong>: Arnaud Champion develops
|
|
|
|
<a href="csharp.html">C# bindings</a>.
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
2016-09-06 10:47:45 +00:00
|
|
|
<li>
|
2016-12-13 17:05:16 +00:00
|
|
|
<strong>Go</strong>: Daniel Berrange develops
|
|
|
|
<a href="https://godoc.org/github.com/libvirt/libvirt-go">Go bindings</a>.
|
2016-09-06 10:47:45 +00:00
|
|
|
</li>
|
2010-10-23 21:06:01 +00:00
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<strong>Java</strong>: Daniel Veillard develops
|
|
|
|
<a href="java.html">Java bindings</a>.
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<strong>OCaml</strong>: Richard Jones develops
|
|
|
|
<a href="http://libvirt.org/ocaml/">OCaml bindings</a>.
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<strong>Perl</strong>: Daniel Berrange develops
|
|
|
|
<a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>.
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<p>
|
2011-02-09 01:43:09 +00:00
|
|
|
<strong>PHP</strong>: Radek Hladik started developing
|
2011-02-09 18:44:03 +00:00
|
|
|
<a href="http://libvirt.org/php">PHP bindings</a> in 2010.
|
2010-10-27 03:17:38 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2011-02-09 18:44:03 +00:00
|
|
|
In February 2011 the binding development has been moved to the libvirt.org website as
|
|
|
|
libvirt-php project.
|
2010-10-27 03:17:38 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2011-02-09 01:43:09 +00:00
|
|
|
The project is now maintained by Michal Novotny and it's heavily based
|
2011-02-09 18:44:03 +00:00
|
|
|
on Radek's version. For more information, including
|
|
|
|
information on posting patches to libvirt-php, please refer
|
|
|
|
to the <a href="http://libvirt.org/php">PHP bindings</a> site.
|
2010-10-27 03:17:38 +00:00
|
|
|
</p>
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2010-10-27 03:17:38 +00:00
|
|
|
<p>
|
2015-01-19 10:03:55 +00:00
|
|
|
<strong>Python</strong>: Libvirt's python bindings are split to a
|
|
|
|
separate <a href="http://libvirt.org/git/?p=libvirt-python.git">package</a>
|
|
|
|
since version 1.2.0, older versions came with direct support for the
|
|
|
|
Python language.
|
2010-10-27 03:17:38 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
If your libvirt is installed as packages, rather than compiled
|
|
|
|
by you from source code, ensure you have the appropriate
|
|
|
|
package installed.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
This is named <b>libvirt-python</b> on RHEL/Fedora,
|
|
|
|
<a href="http://packages.ubuntu.com/search?keywords=python-libvirt"><b>python-libvirt</b></a>
|
|
|
|
on Ubuntu, and may be named differently on others.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
For usage information, see the
|
|
|
|
<a href="python.html">Python API bindings</a> page.
|
|
|
|
</p>
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2010-10-27 22:34:04 +00:00
|
|
|
<strong>Ruby</strong>: Chris Lalancette develops
|
2010-10-27 03:17:38 +00:00
|
|
|
<a href="http://libvirt.org/ruby/">Ruby bindings</a>.
|
2010-10-23 21:06:01 +00:00
|
|
|
</li>
|
2008-04-23 17:08:31 +00:00
|
|
|
</ul>
|
2010-10-23 21:06:01 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
For information on using libvirt on <strong>Windows</strong>
|
|
|
|
<a href="windows.html">please see the Windows support page</a>.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Support, requests or help for libvirt bindings are welcome on the
|
|
|
|
<a href="https://www.redhat.com/mailman/listinfo/libvir-list/">mailing list</a>,
|
|
|
|
as usual try to provide enough background information and make sure
|
|
|
|
you use recent version, see the <a href="bugs.html">help page</a>.
|
2008-09-18 09:00:10 +00:00
|
|
|
</p>
|
2010-10-23 21:06:01 +00:00
|
|
|
|
2008-04-23 17:08:31 +00:00
|
|
|
</body>
|
|
|
|
</html>
|