mirror of https://gitee.com/openkylin/libvirt.git
87 lines
3.0 KiB
XML
87 lines
3.0 KiB
XML
<?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">
|
|
<body>
|
|
<h1 >Bindings for other languages</h1>
|
|
|
|
<p>
|
|
Libvirt supports C and C++ directly, and has bindings available
|
|
for other languages:
|
|
</p>
|
|
|
|
<ul>
|
|
<li>
|
|
<strong>C#</strong>: Arnaud Champion develops
|
|
<a href="csharp.html">C# bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>Java</strong>: Daniel Veillard develops
|
|
<a href="java.html">Java bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>OCaml</strong>: Richard Jones develops
|
|
<a href="http://libvirt.org/ocaml/">OCaml bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>Perl</strong>: Daniel Berrange develops
|
|
<a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>.
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<strong>PHP</strong>: Radek Hladik started developing
|
|
<a href="http://libvirt.org/php">PHP bindings</a> in 2010.
|
|
</p>
|
|
<p>
|
|
In February 2011 the binding development has been moved to the libvirt.org website as
|
|
libvirt-php project.
|
|
</p>
|
|
<p>
|
|
The project is now maintained by Michal Novotny and it's heavily based
|
|
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.
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<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.
|
|
</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>
|
|
</li>
|
|
<li>
|
|
<strong>Ruby</strong>: Chris Lalancette develops
|
|
<a href="http://libvirt.org/ruby/">Ruby bindings</a>.
|
|
</li>
|
|
</ul>
|
|
|
|
<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>.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|