fix a warning when no proxy is configured in, Daniel

This commit is contained in:
Daniel Veillard
2008-07-22 09:52:31 +00:00
parent 7e73b8b61a
commit fa6177aafe
34 changed files with 1276 additions and 2978 deletions

View File

@@ -16,209 +16,178 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">FAQ</span> <span class="active">FAQ</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>FAQ</h1> <h1>FAQ</h1>
<p>Table of Contents:</p> <p>Table of Contents:</p>
<ul> <ul><li>
<li> <a href="FAQ.html#License">License(s)</a>
<a href="FAQ.html#License">License(s)</a> </li><li>
</li> <a href="FAQ.html#Installati">Installation</a>
<li> </li><li>
<a href="FAQ.html#Installati">Installation</a> <a href="FAQ.html#Compilatio">Compilation</a>
</li> </li><li>
<li> <a href="FAQ.html#Developer">Developer corner</a>
<a href="FAQ.html#Compilatio">Compilation</a> </li></ul>
</li>
<li>
<a href="FAQ.html#Developer">Developer corner</a>
</li>
</ul>
<h3><a name="License" id="License">License</a>(s)</h3> <h3><a name="License" id="License">License</a>(s)</h3>
<ol> <ol><li>
<li> <em>Licensing Terms for libvirt</em>
<em>Licensing Terms for libvirt</em> <p>libvirt is released under the <a href="http://www.opensource.org/licenses/lgpl-license.html">GNU Lesser
<p>libvirt is released under the <a href="http://www.opensource.org/licenses/lgpl-license.html">GNU Lesser
General Public License</a>, see the file COPYING.LIB in the distribution General Public License</a>, see the file COPYING.LIB in the distribution
for the precise wording. The only library that libvirt depends upon is for the precise wording. The only library that libvirt depends upon is
the Xen store access library which is also licenced under the LGPL.</p> the Xen store access library which is also licenced under the LGPL.</p>
</li> </li><li>
<li> <em>Can I embed libvirt in a proprietary application ?</em>
<em>Can I embed libvirt in a proprietary application ?</em> <p>Yes. The LGPL allows you to embed libvirt into a proprietary
<p>Yes. The LGPL allows you to embed libvirt into a proprietary
application. It would be graceful to send-back bug fixes and improvements application. It would be graceful to send-back bug fixes and improvements
as patches for possible incorporation in the main development tree. It as patches for possible incorporation in the main development tree. It
will decrease your maintenance costs anyway if you do so.</p> will decrease your maintenance costs anyway if you do so.</p>
</li> </li></ol>
</ol>
<h3> <h3>
<a name="Installati" id="Installati">Installation</a> <a name="Installati" id="Installati">Installation</a>
</h3> </h3>
<ol> <ol><li><em>Where can I get libvirt</em> ?
<li><em>Where can I get libvirt</em> ?
<p>The original distribution comes from <a href="ftp://libvirt.org/libvirt/">ftp://libvirt.org/libvirt/</a>.</p> <p>The original distribution comes from <a href="ftp://libvirt.org/libvirt/">ftp://libvirt.org/libvirt/</a>.</p>
</li> </li><li>
<li> <em>I can't install the libvirt/libvirt-devel RPM packages due to
<em>I can't install the libvirt/libvirt-devel RPM packages due to
failed dependencies</em> failed dependencies</em>
<p>The most generic solution is to re-fetch the latest src.rpm , and <p>The most generic solution is to re-fetch the latest src.rpm , and
rebuild it locally with</p> rebuild it locally with</p>
<p><code>rpm --rebuild libvirt-xxx.src.rpm</code>.</p> <p><code>rpm --rebuild libvirt-xxx.src.rpm</code>.</p>
<p>If everything goes well it will generate two binary rpm packages (one <p>If everything goes well it will generate two binary rpm packages (one
providing the shared libs and virsh, and the other one, the -devel providing the shared libs and virsh, and the other one, the -devel
package, providing includes, static libraries and scripts needed to build package, providing includes, static libraries and scripts needed to build
applications with libvirt that you can install locally.</p> applications with libvirt that you can install locally.</p>
<p>One can also rebuild the RPMs from a tarball:</p> <p>One can also rebuild the RPMs from a tarball:</p>
<p> <p>
<code>rpmbuild -ta libdir-xxx.tar.gz</code> <code>rpmbuild -ta libdir-xxx.tar.gz</code>
</p> </p>
<p>Or from a configured tree with:</p> <p>Or from a configured tree with:</p>
<p> <p>
<code>make rpm</code> <code>make rpm</code>
</p> </p>
</li> </li><li>
<li> <em>Failure to use the API for non-root users</em>
<em>Failure to use the API for non-root users</em> <p>Large parts of the API may only be accessible with root privileges,
<p>Large parts of the API may only be accessible with root privileges,
however the read only access to the xenstore data doesnot have to be however the read only access to the xenstore data doesnot have to be
forbidden to user, at least for monitoring purposes. If "virsh dominfo" forbidden to user, at least for monitoring purposes. If "virsh dominfo"
fails to run as an user, change the mode of the xenstore read-only socket fails to run as an user, change the mode of the xenstore read-only socket
with:</p> with:</p>
<p> <p>
<code>chmod 666 /var/run/xenstored/socket_ro</code> <code>chmod 666 /var/run/xenstored/socket_ro</code>
</p> </p>
<p>and also make sure that the Xen Daemon is running correctly with local <p>and also make sure that the Xen Daemon is running correctly with local
HTTP server enabled, this is defined in HTTP server enabled, this is defined in
<code>/etc/xen/xend-config.sxp</code> which need the following line to be <code>/etc/xen/xend-config.sxp</code> which need the following line to be
enabled:</p> enabled:</p>
<p> <p>
<code>(xend-http-server yes)</code> <code>(xend-http-server yes)</code>
</p> </p>
<p>If needed restart the xend daemon after making the change with the <p>If needed restart the xend daemon after making the change with the
following command run as root:</p> following command run as root:</p>
<p> <p>
<code>service xend restart</code> <code>service xend restart</code>
</p> </p>
</li> </li></ol>
</ol>
<h3> <h3>
<a name="Compilatio" id="Compilatio">Compilation</a> <a name="Compilatio" id="Compilatio">Compilation</a>
</h3> </h3>
<ol> <ol><li>
<li> <em>What is the process to compile libvirt ?</em>
<em>What is the process to compile libvirt ?</em> <p>As most UNIX libraries libvirt follows the "standard":</p>
<p>As most UNIX libraries libvirt follows the "standard":</p> <p>
<p> <code>gunzip -c libvirt-xxx.tar.gz | tar xvf -</code>
<code>gunzip -c libvirt-xxx.tar.gz | tar xvf -</code> </p>
</p> <p>
<p> <code>cd libvirt-xxxx</code>
<code>cd libvirt-xxxx</code> </p>
</p> <p>
<p> <code>./configure --help</code>
<code>./configure --help</code> </p>
</p> <p>to see the options, then the compilation/installation proper</p>
<p>to see the options, then the compilation/installation proper</p> <p>
<p> <code>./configure [possible options]</code>
<code>./configure [possible options]</code> </p>
</p> <p>
<p> <code>make</code>
<code>make</code> </p>
</p> <p>
<p> <code>make install</code>
<code>make install</code> </p>
</p> <p>At that point you may have to rerun ldconfig or a similar utility to
<p>At that point you may have to rerun ldconfig or a similar utility to
update your list of installed shared libs.</p> update your list of installed shared libs.</p>
</li> </li><li>
<li> <em>What other libraries are needed to compile/install libvirt ?</em>
<em>What other libraries are needed to compile/install libvirt ?</em> <p>Libvirt requires libxenstore, which is usually provided by the xen
<p>Libvirt requires libxenstore, which is usually provided by the xen
packages as well as the public headers to compile against libxenstore.</p> packages as well as the public headers to compile against libxenstore.</p>
</li> </li><li>
<li> <em>I use the CVS version and there is no configure script</em>
<em>I use the CVS version and there is no configure script</em> <p>The configure script (and other Makefiles) are generated. Use the
<p>The configure script (and other Makefiles) are generated. Use the
autogen.sh script to regenerate the configure script and Makefiles, autogen.sh script to regenerate the configure script and Makefiles,
like:</p> like:</p>
<p> <p>
<code>./autogen.sh --prefix=/usr --disable-shared</code> <code>./autogen.sh --prefix=/usr --disable-shared</code>
</p> </p>
</li> </li></ol>
</ol>
<h3><a name="Developer" id="Developer">Developer</a> corner</h3> <h3><a name="Developer" id="Developer">Developer</a> corner</h3>
<ol> <ol><li>
<li> <em>Troubles compiling or linking programs using libvirt</em>
<em>Troubles compiling or linking programs using libvirt</em> <p>To simplify the process of reusing the library, libvirt comes with
<p>To simplify the process of reusing the library, libvirt comes with
pkgconfig support, which can be used directly from autoconf support or pkgconfig support, which can be used directly from autoconf support or
via the pkg-config command line tool, like:</p> via the pkg-config command line tool, like:</p>
<p> <p>
<code>pkg-config libvirt --libs</code> <code>pkg-config libvirt --libs</code>
</p> </p>
</li> </li></ol>
</ol>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,75 +16,60 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="active" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="active" href="relatedlinks.html">Related Links</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<span class="active">Applications</span> <span class="active">Applications</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Applications using <strong>libvirt</strong></h1> <h1>Applications using <strong>libvirt</strong></h1>
@@ -98,105 +83,62 @@
your website to advertise support for libvirt: your website to advertise support for libvirt:
</p> </p>
<p class="image"> <p class="image">
<img src="madeWith.png" alt="Made with libvirt" /> <img src="madeWith.png" alt="Made with libvirt" /></p>
</p>
<h2>Command line tools</h2> <h2>Command line tools</h2>
<dl> <dl><dt>virsh</dt><dd>
<dt>virsh</dt>
<dd>
An interactive shell, and batch scriptable tool for performing An interactive shell, and batch scriptable tool for performing
management tasks on all libvirt managed domains, networks and management tasks on all libvirt managed domains, networks and
storage. This is part of the libvirt core distribution. storage. This is part of the libvirt core distribution.
</dd> </dd><dt><a href="http://virt-manager.org/">virt-install</a></dt><dd>
<dt>
<a href="http://virt-manager.org/">virt-install</a>
</dt>
<dd>
Provides a way to provision new virtual machines from a Provides a way to provision new virtual machines from a
OS distribution install tree. It supports provisioning from OS distribution install tree. It supports provisioning from
local CD images, and the network over NFS, HTTP and FTP. local CD images, and the network over NFS, HTTP and FTP.
</dd> </dd><dt><a href="http://virt-manager.org/">virt-clone</a></dt><dd>
<dt>
<a href="http://virt-manager.org/">virt-clone</a>
</dt>
<dd>
Allows the disk image(s) and configuration for an existing Allows the disk image(s) and configuration for an existing
virtual machine to be cloned to form a new virtual machine. virtual machine to be cloned to form a new virtual machine.
It automates copying of data across to new disk images, and It automates copying of data across to new disk images, and
updates the UUID, Mac address and name in the configuration updates the UUID, Mac address and name in the configuration
</dd> </dd><dt><a href="http://virt-manager.org/">virt-image</a></dt><dd>
<dt>
<a href="http://virt-manager.org/">virt-image</a>
</dt>
<dd>
Provides a way to deploy virtual appliances. It defines a Provides a way to deploy virtual appliances. It defines a
simplified portable XML format describing the pre-requisites simplified portable XML format describing the pre-requisites
of a virtual machine. At time of deployment this is translated of a virtual machine. At time of deployment this is translated
into the domain XML format for execution under any libvirt into the domain XML format for execution under any libvirt
hypervisor meeting the pre-requisites. hypervisor meeting the pre-requisites.
</dd> </dd><dt><a href="http://et.redhat.com/~rjones/virt-df/">virt-df</a></dt><dd>
<dt>
<a href="http://et.redhat.com/~rjones/virt-df/">virt-df</a>
</dt>
<dd>
Examine the utilization of each filesystem in a virtual machine Examine the utilization of each filesystem in a virtual machine
from the comfort of the host machine. This tool peeks into the from the comfort of the host machine. This tool peeks into the
guest disks and determines how much space is used. It can cope guest disks and determines how much space is used. It can cope
with common Linux filesystems and LVM volumes. with common Linux filesystems and LVM volumes.
</dd> </dd><dt><a href="http://et.redhat.com/~rjones/virt-top/">virt-top</a></dt><dd>
<dt>
<a href="http://et.redhat.com/~rjones/virt-top/">virt-top</a>
</dt>
<dd>
Watch the CPU, memory, network and disk utilization of all Watch the CPU, memory, network and disk utilization of all
virtual machines running on a host. virtual machines running on a host.
</dd> </dd></dl>
</dl>
<h2>Desktop applications</h2> <h2>Desktop applications</h2>
<dl> <dl><dt><a href="http://virt-manager.org/">virt-manager</a></dt><dd>
<dt>
<a href="http://virt-manager.org/">virt-manager</a>
</dt>
<dd>
A general purpose desktop management tool, able to manage A general purpose desktop management tool, able to manage
virtual machines across both local and remotely accessed virtual machines across both local and remotely accessed
hypervisors. It is targeted at home and small office usage hypervisors. It is targeted at home and small office usage
upto managing 10-20 hosts and their VMs. upto managing 10-20 hosts and their VMs.
</dd> </dd><dt><a href="http://virt-manager.org/">virt-viewer</a></dt><dd>
<dt>
<a href="http://virt-manager.org/">virt-viewer</a>
</dt>
<dd>
A lightweight tool for accessing the graphical console A lightweight tool for accessing the graphical console
associated with a virtual machine. It can securely connect associated with a virtual machine. It can securely connect
to remote consoles supporting the VNC protocol. Also provides to remote consoles supporting the VNC protocol. Also provides
an optional mozilla browser plugin. an optional mozilla browser plugin.
</dd> </dd></dl>
</dl>
<h2>Web applications</h2> <h2>Web applications</h2>
<dl> <dl><dt><a href="http://ovirt.org/">oVirt</a></dt><dd>
<dt>
<a href="http://ovirt.org/">oVirt</a>
</dt>
<dd>
oVirt provides the ability to manage large numbers of virtual oVirt provides the ability to manage large numbers of virtual
machines across an entire data center of hosts. It integrates machines across an entire data center of hosts. It integrates
with FreeIPA for Kerberos authentication, and in the future, with FreeIPA for Kerberos authentication, and in the future,
certificate management. certificate management.
</dd> </dd></dl>
</dl>
<h2>LiveCD / Appliances</h2> <h2>LiveCD / Appliances</h2>
<dl> <dl><dt><a href="http://et.redhat.com/~rjones/virt-p2v/">virt-p2v</a></dt><dd>
<dt>
<a href="http://et.redhat.com/~rjones/virt-p2v/">virt-p2v</a>
</dt>
<dd>
A tool for converting a physical machine into a virtual machine. It A tool for converting a physical machine into a virtual machine. It
is a LiveCD which is booted on the machine to be converted. It collects is a LiveCD which is booted on the machine to be converted. It collects
a little information from the user and then copies the disks over to a little information from the user and then copies the disks over to
a remote machine and defines the XML for a domain to run the guest. a remote machine and defines the XML for a domain to run the guest.
</dd> </dd></dl>
</dl>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<span class="active">Domains</span> <span class="active">Domains</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a> <a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a> <a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a> <a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Domain management architecture</h1> <h1>Domain management architecture</h1>

View File

@@ -16,88 +16,71 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>libvirt architecture</h1> <h1>libvirt architecture</h1>
<p>Currently libvirt supports 2 kind of virtualization, and its <p>Currently libvirt supports 2 kind of virtualization, and its
internal structure is based on a driver model which simplifies adding new internal structure is based on a driver model which simplifies adding new
engines:</p> engines:</p>
<ul> <ul><li>
<li> <a href="#Xen">Xen hypervisor</a>
<a href="#Xen">Xen hypervisor</a> </li><li>
</li> <a href="#QEmu">QEmu and KVM based virtualization</a>
<li> </li><li>
<a href="#QEmu">QEmu and KVM based virtualization</a> <a href="#drivers">the driver architecture</a>
</li> </li></ul>
<li>
<a href="#drivers">the driver architecture</a>
</li>
</ul>
<h3> <h3>
<a name="Xen" id="Xen">Libvirt Xen support</a> <a name="Xen" id="Xen">Libvirt Xen support</a>
</h3> </h3>
<p>When running in a Xen environment, programs using libvirt have to execute <p>When running in a Xen environment, programs using libvirt have to execute
in "Domain 0", which is the primary Linux OS loaded on the machine. That OS in "Domain 0", which is the primary Linux OS loaded on the machine. That OS
kernel provides most if not all of the actual drivers used by the set of kernel provides most if not all of the actual drivers used by the set of
@@ -112,13 +95,8 @@ this environment:</p>
privilege of the embedding program. If it runs with root access, privilege of the embedding program. If it runs with root access,
virConnectOpen() can be used, it will use three different ways to connect to virConnectOpen() can be used, it will use three different ways to connect to
the Xen infrastructure:</p> the Xen infrastructure:</p>
<ul> <ul><li>a connection to the Xen Daemon though an HTTP RPC layer</li><li>a read/write connection to the Xen Store</li><li>use Xen Hypervisor calls</li><li>when used as non-root libvirt connect to a proxy daemon running
<li>a connection to the Xen Daemon though an HTTP RPC layer</li> as root and providing read-only support</li></ul>
<li>a read/write connection to the Xen Store</li>
<li>use Xen Hypervisor calls</li>
<li>when used as non-root libvirt connect to a proxy daemon running
as root and providing read-only support</li>
</ul>
<p>The library will usually interact with the Xen daemon for any operation <p>The library will usually interact with the Xen daemon for any operation
changing the state of the system, but for performance and accuracy reasons changing the state of the system, but for performance and accuracy reasons
may talk directly to the hypervisor when gathering state information at may talk directly to the hypervisor when gathering state information at
@@ -129,8 +107,8 @@ connect to initialize the library. It will then fork a libvirt_proxy
program running as root and providing read_only access to the API, this is program running as root and providing read_only access to the API, this is
then only useful for reporting and monitoring.</p> then only useful for reporting and monitoring.</p>
<h3> <h3>
<a name="QEmu" id="QEmu">Libvirt QEmu and KVM support</a> <a name="QEmu" id="QEmu">Libvirt QEmu and KVM support</a>
</h3> </h3>
<p>The model for QEmu and KVM is completely similar, basically KVM is based <p>The model for QEmu and KVM is completely similar, basically KVM is based
on QEmu for the process controlling a new domain, only small details differs on QEmu for the process controlling a new domain, only small details differs
between the two. In both case the libvirt API is provided by a controlling between the two. In both case the libvirt API is provided by a controlling
@@ -143,8 +121,8 @@ domain, by specifying the architecture and machine type targeted.</p>
<p>The code controlling the QEmu process is available in the <p>The code controlling the QEmu process is available in the
<code>qemud/</code> directory.</p> <code>qemud/</code> directory.</p>
<h3> <h3>
<a name="drivers" id="drivers">the driver based architecture</a> <a name="drivers" id="drivers">the driver based architecture</a>
</h3> </h3>
<p>As the previous section explains, libvirt can communicate using different <p>As the previous section explains, libvirt can communicate using different
channels with the current hypervisor, and should also be able to use channels with the current hypervisor, and should also be able to use
different kind of hypervisor. To simplify the internal design, code, ease different kind of hypervisor. To simplify the internal design, code, ease
@@ -155,23 +133,15 @@ defining a common set of routines. That way the Xen Daemon access, the Xen
Store one, the Hypervisor hypercall are all isolated in separate C modules Store one, the Hypervisor hypercall are all isolated in separate C modules
implementing at least a subset of the common operations defined by the implementing at least a subset of the common operations defined by the
drivers present in driver.h:</p> drivers present in driver.h:</p>
<ul> <ul><li>xend_internal: implements the driver functions though the Xen
<li>xend_internal: implements the driver functions though the Xen Daemon</li><li>xs_internal: implements the subset of the driver available though the
Daemon</li> Xen Store</li><li>xen_internal: provide the implementation of the functions possible via
<li>xs_internal: implements the subset of the driver available though the direct hypervisor access</li><li>proxy_internal: provide read-only Xen access via a proxy, the proxy code
Xen Store</li> is in the <code>proxy/</code>directory.</li><li>xm_internal: provide support for Xen defined but not running
<li>xen_internal: provide the implementation of the functions possible via domains.</li><li>qemu_internal: implement the driver functions for QEmu and
direct hypervisor access</li>
<li>proxy_internal: provide read-only Xen access via a proxy, the proxy code
is in the <code>proxy/</code>directory.</li>
<li>xm_internal: provide support for Xen defined but not running
domains.</li>
<li>qemu_internal: implement the driver functions for QEmu and
KVM virtualization engines. It also uses a qemud/ specific daemon KVM virtualization engines. It also uses a qemud/ specific daemon
which interacts with the QEmu process to implement libvirt API.</li> which interacts with the QEmu process to implement libvirt API.</li><li>test: this is a test driver useful for regression tests of the
<li>test: this is a test driver useful for regression tests of the front-end part of libvirt.</li></ul>
front-end part of libvirt.</li>
</ul>
<p>Note that a given driver may only implement a subset of those functions, <p>Note that a given driver may only implement a subset of those functions,
(for example saving a Xen domain state to disk and restoring it is only (for example saving a Xen domain state to disk and restoring it is only
possible though the Xen Daemon), in that case the driver entry points for possible though the Xen Daemon), in that case the driver entry points for

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a> <a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Network</span> <span class="active">Network</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a> <a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a> <a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Network management architecture</h1> <h1>Network management architecture</h1>
@@ -140,38 +115,30 @@
The diagrams below illustrate some of the network configurations The diagrams below illustrate some of the network configurations
enabled by the libvirt networking APIs enabled by the libvirt networking APIs
</p> </p>
<ul> <ul><li><strong>VLAN 1</strong>. This virtual network has connectivity
<li><strong>VLAN 1</strong>. This virtual network has connectivity
to <code>LAN 2</code> with traffic forwarded and NATed. to <code>LAN 2</code> with traffic forwarded and NATed.
</li> </li><li><strong>VLAN 2</strong>. This virtual network is completely
<li><strong>VLAN 2</strong>. This virtual network is completely
isolated from any physical LAN. isolated from any physical LAN.
</li> </li><li><strong>Guest A</strong>. The first network interface is bridged
<li><strong>Guest A</strong>. The first network interface is bridged
to the physical <code>LAN 1</code>. The second interface is connected to the physical <code>LAN 1</code>. The second interface is connected
to a virtual network <code>VLAN 1</code>. to a virtual network <code>VLAN 1</code>.
</li> </li><li><strong>Guest B</strong>. The first network interface is connected
<li><strong>Guest B</strong>. The first network interface is connected
to a virtual network <code>VLAN 1</code>, giving it limited NAT to a virtual network <code>VLAN 1</code>, giving it limited NAT
based connectivity to LAN2. It has a second network interface based connectivity to LAN2. It has a second network interface
connected to <code>VLAN 2</code>. It acts a router allowing limited connected to <code>VLAN 2</code>. It acts a router allowing limited
traffic between the two VLANs, thus giving <code>Guest C</code> traffic between the two VLANs, thus giving <code>Guest C</code>
connectivity to the physical <code>LAN 2</code>. connectivity to the physical <code>LAN 2</code>.
</li> </li><li><strong>Guest C</strong>. The only network interface is connected
<li><strong>Guest C</strong>. The only network interface is connected
to a virtual network <code>VLAN 2</code>. It has no direct connectivity to a virtual network <code>VLAN 2</code>. It has no direct connectivity
to a physical LAN, relying on <code>Guest B</code> to route traffic to a physical LAN, relying on <code>Guest B</code> to route traffic
on its behalf. on its behalf.
</li> </li></ul>
</ul>
<h3>Logical diagram</h3> <h3>Logical diagram</h3>
<p class="image"> <p class="image">
<img src="libvirt-net-logical.png" alt="Logical network architecture" /> <img src="libvirt-net-logical.png" alt="Logical network architecture" /></p>
</p>
<h3>Physical diagram</h3> <h3>Physical diagram</h3>
<p class="image"> <p class="image">
<img src="libvirt-net-physical.png" alt="Physical network architecture" /> <img src="libvirt-net-physical.png" alt="Physical network architecture" /></p>
</p>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a> <a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a> <a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a> <a title="Managing storage pools and volumes" class="inactive" href="archstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Node Devices</span> <span class="active">Node Devices</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Node device management architecture</h1> <h1>Node device management architecture</h1>

View File

@@ -16,140 +16,114 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="active" href="intro.html">Architecture</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a> <a title="Managing virtual machines" class="inactive" href="archdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a> <a title="Providing isolated networks and NAT based network connectivity" class="inactive" href="archnetwork.html">Network</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Storage</span> <span class="active">Storage</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a> <a title="Enumerating host node devices" class="inactive" href="archnode.html">Node Devices</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Storage management architecture</h1> <h1>Storage management architecture</h1>
<p> <p>
The storage management APIs are based around 2 core concepts The storage management APIs are based around 2 core concepts
</p> </p>
<ol> <ol><li>
<li><strong>Volume</strong> - a single storage volume which can <strong>Volume</strong> - a single storage volume which can
be assigned to a guest, or used for creating further pools. A be assigned to a guest, or used for creating further pools. A
volume is either a block device, a raw file, or a special format volume is either a block device, a raw file, or a special format
file. file.
</li> </li><li>
<li><strong>Pool</strong> - provides a means for taking a chunk <strong>Pool</strong> - provides a means for taking a chunk
of storage and carving it up into volumes. A pool can be used to of storage and carving it up into volumes. A pool can be used to
manage things such as a physical disk, a NFS server, a iSCSI target, manage things such as a physical disk, a NFS server, a iSCSI target,
a host adapter, an LVM group. a host adapter, an LVM group.
</li> </li></ol>
</ol>
<p> <p>
These two concepts are mapped through to two libvirt objects, a These two concepts are mapped through to two libvirt objects, a
<code>virStorageVolPtr</code> and a <code>virStoragePoolPtr</code>, <code>virStorageVolPtr</code> and a <code>virStoragePoolPtr</code>,

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a> <a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a> <a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Authentication</span> <span class="active">Authentication</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a> <a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Access control</h1> <h1>Access control</h1>
@@ -141,23 +116,17 @@ authentication before allowing use of the APIs. The set of possible
authentication mechanisms is administrator controlled, independent authentication mechanisms is administrator controlled, independent
of applications using libvirt. of applications using libvirt.
</p> </p>
<ul> <ul><li>
<li> <a href="#ACL_server_config">Server configuration</a>
<a href="#ACL_server_config">Server configuration</a> </li><li>
</li> <a href="#ACL_server_unix_perms">UNIX socket permissions/group</a>
<li> </li><li>
<a href="#ACL_server_unix_perms">UNIX socket permissions/group</a> <a href="#ACL_server_polkit">UNIX socket PolicyKit auth</a>
</li> </li><li>
<li> <a href="#ACL_server_username">Username/password auth</a>
<a href="#ACL_server_polkit">UNIX socket PolicyKit auth</a> </li><li>
</li> <a href="#ACL_server_kerberos">Kerberos auth</a>
<li> </li></ul>
<a href="#ACL_server_username">Username/password auth</a>
</li>
<li>
<a href="#ACL_server_kerberos">Kerberos auth</a>
</li>
</ul>
<h3> <h3>
<a name="ACL_server_config" id="ACL_server_config">Server configuration</a> <a name="ACL_server_config" id="ACL_server_config">Server configuration</a>
</h3> </h3>

View File

@@ -16,107 +16,89 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Language bindings</span> <span class="active">Language bindings</span>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="overview of the python API bindings" class="inactive" href="python.html">Python</a> <a title="overview of the python API bindings" class="inactive" href="python.html">Python</a>
</div> </div>
</li> </li><li>
</ul> <div>
<a title="overview of the Java API bindings" class="inactive" href="java.html">Java</a>
</div>
</li></ul>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Bindings for other languages</h1> <h1>Bindings for other languages</h1>
@@ -124,16 +106,11 @@
pure C. First the headers embeds the necessary declarations to pure C. First the headers embeds the necessary declarations to
allow direct acces from C++ code, but also we have bindings for allow direct acces from C++ code, but also we have bindings for
higher level kind of languages:</p> higher level kind of languages:</p>
<ul> <ul><li>Python: Libvirt comes with direct support for the Python language
<li>Python: Libvirt comes with direct support for the Python language
(just make sure you installed the libvirt-python package if not (just make sure you installed the libvirt-python package if not
compiling from sources). See below for more information about compiling from sources). See below for more information about
using libvirt with python</li> using libvirt with python</li><li>Perl: Daniel Berrange provides <a href="http://search.cpan.org/dist/Sys-Virt/">bindings for
<li>Perl: Daniel Berrange provides <a href="http://search.cpan.org/dist/Sys-Virt/">bindings for Perl</a>.</li><li>OCaml: Richard Jones supplies <a href="http://libvirt.org/ocaml/">bindings for OCaml</a>.</li><li>Ruby: David Lutterkort provides <a href="http://libvirt.org/ruby/">bindings for Ruby</a>.</li></ul>
Perl</a>.</li>
<li>OCaml: Richard Jones supplies <a href="http://libvirt.org/ocaml/">bindings for OCaml</a>.</li>
<li>Ruby: David Lutterkort provides <a href="http://libvirt.org/ruby/">bindings for Ruby</a>.</li>
</ul>
<p>Support, requests or help for libvirt bindings are welcome on <p>Support, requests or help for libvirt bindings are welcome on
the <a href="https://www.redhat.com/mailman/listinfo/libvir-list/">mailing the <a href="https://www.redhat.com/mailman/listinfo/libvir-list/">mailing
list</a>, as usual try to provide enough background information list</a>, as usual try to provide enough background information

View File

@@ -16,68 +16,55 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Bug reports</span> <span class="active">Bug reports</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Bug reporting</h1> <h1>Bug reporting</h1>
@@ -96,31 +83,20 @@
the <code>Virtualization Tools</code> product and the <code>libvirt</code> the <code>Virtualization Tools</code> product and the <code>libvirt</code>
component. component.
</p> </p>
<ul> <ul><li><a href="">View libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Virtualization%20Tools&amp;component=libvirt">New libvirt ticket</a></li></ul>
<li>
<a href="">View libvirt tickets</a>
</li>
<li>
<a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Virtualization%20Tools&amp;component=libvirt">New libvirt ticket</a>
</li>
</ul>
<h2>Linux Distribution specific bug reports</h2> <h2>Linux Distribution specific bug reports</h2>
<ul> <ul><li>
<li>
If you are using official binaries from a <strong>Fedora distribution</strong>, enter If you are using official binaries from a <strong>Fedora distribution</strong>, enter
tickets against the <code>Fedora</code> product and the <code>libvirt</code> tickets against the <code>Fedora</code> product and the <code>libvirt</code>
component. component.
<ul><li><a href="">View Fedora libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&amp;component=libvirt">New Fedora libvirt ticket</a></li></ul></li> <ul><li><a href="">View Fedora libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&amp;component=libvirt">New Fedora libvirt ticket</a></li></ul></li><li>
<li>
If you are using official binaries from <strong>Red Hat Enterprise Linux distribution</strong>, If you are using official binaries from <strong>Red Hat Enterprise Linux distribution</strong>,
tickets against the <code>Red Hat Enterprise Linux 5</code> product and tickets against the <code>Red Hat Enterprise Linux 5</code> product and
the <code>libvirt</code> component. the <code>libvirt</code> component.
<ul><li><a href="">View Red Hat Enterprise Linux libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&amp;component=libvirt">New Red Hat Enterprise Linux libvirt ticket</a></li></ul></li> <ul><li><a href="">View Red Hat Enterprise Linux libvirt tickets</a></li><li><a href="http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&amp;component=libvirt">New Red Hat Enterprise Linux libvirt ticket</a></li></ul></li><li>
<li>
If you are using official binaries from another Linux distribution first If you are using official binaries from another Linux distribution first
follow their own bug reporting guidelines. follow their own bug reporting guidelines.
</li> </li></ul>
</ul>
<h2>How to file high quality bug reports</h2> <h2>How to file high quality bug reports</h2>
<p> <p>
To increase the likelihood of your bug report being addressed it is To increase the likelihood of your bug report being addressed it is
@@ -128,15 +104,8 @@
libvirt bugs use this checklist to see if you are providing enough libvirt bugs use this checklist to see if you are providing enough
information: information:
</p> </p>
<ul> <ul><li>The version number of the libvirt build, or date of the CVS
<li>The version number of the libvirt build, or date of the CVS checkout</li><li>The hardware architecture being used</li><li>The name of the hypervisor (Xen, QEMU, KVM)</li><li>The XML config of the guest domain if relevant</li><li>For Xen hypervisor, the XenD logfile from /var/log/xen</li><li>For QEMU/KVM, the domain logfile from /var/log/libvirt/qemu</li></ul>
checkout</li>
<li>The hardware architecture being used</li>
<li>The name of the hypervisor (Xen, QEMU, KVM)</li>
<li>The XML config of the guest domain if relevant</li>
<li>For Xen hypervisor, the XenD logfile from /var/log/xen</li>
<li>For QEMU/KVM, the domain logfile from /var/log/libvirt/qemu</li>
</ul>
<p> <p>
If requesting a new feature attach any available patch to the ticket If requesting a new feature attach any available patch to the ticket
and also email the patch to the libvirt mailing list for discussion and also email the patch to the libvirt mailing list for discussion

View File

@@ -16,68 +16,55 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Contact</span> <span class="active">Contact</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Contacting the development team</h1> <h1>Contacting the development team</h1>
@@ -97,11 +84,7 @@
Some of the libvirt developers may be found on IRC on the <a href="http://oftc.net">OFTC IRC</a> Some of the libvirt developers may be found on IRC on the <a href="http://oftc.net">OFTC IRC</a>
network. Use the settings: network. Use the settings:
</p> </p>
<ul> <ul><li>server: irc.oftc.net</li><li>port: 6667 (the usual IRC port)</li><li>channel: #virt</li></ul>
<li>server: irc.oftc.net</li>
<li>port: 6667 (the usual IRC port)</li>
<li>channel: #virt</li>
</ul>
<p> <p>
NB There is no guarantee that someone will be watching or able to reply NB There is no guarantee that someone will be watching or able to reply
promptly, so use the mailing-list if you don't get an answer on the IRC promptly, so use the mailing-list if you don't get an answer on the IRC

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<span class="active">Deployment</span> <span class="active">Deployment</span>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a> <a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a> <a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a> <a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a> <a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Deployment</h1> <h1>Deployment</h1>

View File

@@ -16,100 +16,80 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Documentation</span> <span class="active">Documentation</span>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Documentation</h1> <h1>Documentation</h1>

View File

@@ -16,68 +16,55 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Downloads</span> <span class="active">Downloads</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Downloads</h1> <h1>Downloads</h1>
@@ -85,28 +72,14 @@
<p> <p>
The latest versions of the libvirt C library can be downloaded from: The latest versions of the libvirt C library can be downloaded from:
</p> </p>
<ul> <ul><li><a href="ftp://libvirt.org/libvirt/">libvirt.org FTP server</a></li><li><a href="http://libvirt.org/sources/">libvirt.org HTTP server</a></li></ul>
<li>
<a href="ftp://libvirt.org/libvirt/">libvirt.org FTP server</a>
</li>
<li>
<a href="http://libvirt.org/sources/">libvirt.org HTTP server</a>
</li>
</ul>
<h2>Hourly development snapshots</h2> <h2>Hourly development snapshots</h2>
<p> <p>
Once an hour, an automated snapshot is made from the latest CVS server Once an hour, an automated snapshot is made from the latest CVS server
source tree. These snapshots should be usable, but we make no guarantees source tree. These snapshots should be usable, but we make no guarantees
about their stability: about their stability:
</p> </p>
<ul> <ul><li><a href="ftp://libvirt.org/libvirt/libvirt-cvs-snapshot.tar.gz">libvirt.org FTP server</a></li><li><a href="http://libvirt.org/sources/libvirt-cvs-snapshot.tar.gz">libvirt.org HTTP server</a></li></ul>
<li>
<a href="ftp://libvirt.org/libvirt/libvirt-cvs-snapshot.tar.gz">libvirt.org FTP server</a>
</li>
<li>
<a href="http://libvirt.org/sources/libvirt-cvs-snapshot.tar.gz">libvirt.org HTTP server</a>
</li>
</ul>
<h2>CVS repository access</h2> <h2>CVS repository access</h2>
<p> <p>
The master source repository uses <a href="http://ximbiot.com/cvs/cvshome/docs/">CVS</a> The master source repository uses <a href="http://ximbiot.com/cvs/cvshome/docs/">CVS</a>
@@ -150,8 +123,9 @@
It can also be browsed at It can also be browsed at
</p> </p>
<pre> <pre>
<a href="http://git.et.redhat.com/?p=libvirt.git;a=summary">http://git.et.redhat.com/?p=libvirt.git;a=summary</a>
</pre> <a href="http://git.et.redhat.com/?p=libvirt.git;a=summary">http://git.et.redhat.com/?p=libvirt.git;a=summary</a>
</pre>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Drivers</span> <span class="active">Drivers</span>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Internal drivers</h1> <h1>Internal drivers</h1>
@@ -161,33 +133,7 @@
<p> <p>
The hypervisor drivers currently supported by libvirt are: The hypervisor drivers currently supported by libvirt are:
</p> </p>
<ul> <ul><li><strong><a href="drvxen.html">Xen</a></strong></li><li><strong><a href="drvqemu.html">QEMU</a></strong></li><li><strong><a href="drvlxc.html">LXC</a></strong></li><li><strong><a href="drvtest.html">Test</a></strong></li><li><strong><a href="drvopenvz.html">OpenVZ</a></strong></li></ul>
<li>
<strong>
<a href="drvxen.html">Xen</a>
</strong>
</li>
<li>
<strong>
<a href="drvqemu.html">QEMU</a>
</strong>
</li>
<li>
<strong>
<a href="drvlxc.html">LXC</a>
</strong>
</li>
<li>
<strong>
<a href="drvtest.html">Test</a>
</strong>
</li>
<li>
<strong>
<a href="drvopenvz.html">OpenVZ</a>
</strong>
</li>
</ul>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Linux Container</span> <span class="active">Linux Container</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>LXC container driver</h1> <h1>LXC container driver</h1>

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">OpenVZ</span> <span class="active">OpenVZ</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>OpenVZ container driver</h1> <h1>OpenVZ container driver</h1>

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Remote</span> <span class="active">Remote</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Remote management driver</h1> <h1>Remote management driver</h1>

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Test</span> <span class="active">Test</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Test "mock" driver</h1> <h1>Test "mock" driver</h1>

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<span class="active">Xen</span> <span class="active">Xen</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a> <a title="Driver for the storage management APIs" class="inactive" href="storage.html">Storage</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Xen hypervisor driver</h1> <h1>Xen hypervisor driver</h1>
@@ -159,8 +131,8 @@
The libvirt Xen driver uses a combination of channels to manage Xen The libvirt Xen driver uses a combination of channels to manage Xen
virtual machines. virtual machines.
</p> </p>
<ul> <ul><li>
<li><strong>XenD</strong>: Access to the Xen daemon is a mandatory <strong>XenD</strong>: Access to the Xen daemon is a mandatory
requirement for the libvirt Xen driver. It requires that the UNIX requirement for the libvirt Xen driver. It requires that the UNIX
socket interface be enabled in the <code>/etc/xen/xend-config.sxp</code> socket interface be enabled in the <code>/etc/xen/xend-config.sxp</code>
configuration file. Specifically the config settings configuration file. Specifically the config settings
@@ -168,22 +140,21 @@
to only allow the <code>root</code> user access. As an alternative, to only allow the <code>root</code> user access. As an alternative,
the HTTP interface can be used, however, this has significant security the HTTP interface can be used, however, this has significant security
implications. implications.
</li> </li><li>
<li><strong>XenStoreD</strong>: Access to the Xenstore daemon enables <strong>XenStoreD</strong>: Access to the Xenstore daemon enables
more efficient codepaths for looking up domain information which more efficient codepaths for looking up domain information which
lowers the CPU overhead of management. lowers the CPU overhead of management.
</li> </li><li>
<li><strong>Hypercalls</strong>: The ability to make direct hypercalls <strong>Hypercalls</strong>: The ability to make direct hypercalls
allows the most efficient codepaths in the driver to be used for allows the most efficient codepaths in the driver to be used for
monitoring domain status. monitoring domain status.
</li> </li><li>
<li><strong>XM config</strong>: When using Xen releases prior to 3.0.4, <strong>XM config</strong>: When using Xen releases prior to 3.0.4,
there is no inactive domain management in XenD. For such releases, there is no inactive domain management in XenD. For such releases,
libvirt will automatically process XM configuration files kept in libvirt will automatically process XM configuration files kept in
the <code>/etc/xen</code> directory. It is important not to place the <code>/etc/xen</code> directory. It is important not to place
any other non-config files in this directory. any other non-config files in this directory.
</li> </li></ul>
</ul>
<h2> <h2>
<a name="xmlconfig" id="xmlconfig">Example domain XML config</a> <a name="xmlconfig" id="xmlconfig">Example domain XML config</a>
</h2> </h2>

View File

@@ -16,77 +16,60 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Handling of errors</h1> <h1>Handling of errors</h1>
<p>The main goals of libvirt when it comes to error handling are:</p> <p>The main goals of libvirt when it comes to error handling are:</p>
<ul> <ul><li>provide as much detail as possible</li><li>provide the information as soon as possible</li><li>dont force the library user into one style of error handling</li></ul>
<li>provide as much detail as possible</li>
<li>provide the information as soon as possible</li>
<li>dont force the library user into one style of error handling</li>
</ul>
<p>As result the library provide both synchronous, callback based and <p>As result the library provide both synchronous, callback based and
asynchronous error reporting. When an error happens in the library code the asynchronous error reporting. When an error happens in the library code the
error is logged, allowing to retrieve it later and if the user registered an error is logged, allowing to retrieve it later and if the user registered an
@@ -99,43 +82,30 @@ the current connection they are related to, that way the error is stored in a
dynamic structure which can be made thread specific. Error callback can be dynamic structure which can be made thread specific. Error callback can be
set specifically to a connection with</p> set specifically to a connection with</p>
<p>So error handling in the code is the following:</p> <p>So error handling in the code is the following:</p>
<ol> <ol><li>if the error can be associated to a connection for example when failing
<li>if the error can be associated to a connection for example when failing
to look up a domain to look up a domain
<ol><li>if there is a callback associated to the connection set with <a href="html/libvirt-virterror.html#virConnSetErrorFunc">virConnSetErrorFunc</a>, <ol><li>if there is a callback associated to the connection set with <a href="html/libvirt-virterror.html#virConnSetErrorFunc">virConnSetErrorFunc</a>,
call it with the error information</li><li>otherwise if there is a global callback set with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a>, call it with the error information</li><li>otherwise if there is a global callback set with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a>,
call it with the error information</li><li>otherwise call <a href="html/libvirt-virterror.html#virDefaultErrorFunc">virDefaultErrorFunc</a> call it with the error information</li><li>otherwise call <a href="html/libvirt-virterror.html#virDefaultErrorFunc">virDefaultErrorFunc</a>
which is the default error function of the library issuing the error which is the default error function of the library issuing the error
on stderr</li><li>save the error in the connection for later retrieval with <a href="html/libvirt-virterror.html#virConnGetLastError">virConnGetLastError</a></li></ol></li> on stderr</li><li>save the error in the connection for later retrieval with <a href="html/libvirt-virterror.html#virConnGetLastError">virConnGetLastError</a></li></ol></li><li>otherwise like when failing to create an hypervisor connection:
<li>otherwise like when failing to create an hypervisor connection:
<ol><li>if there is a global callback set with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a>, <ol><li>if there is a global callback set with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a>,
call it with the error information</li><li>otherwise call <a href="html/libvirt-virterror.html#virDefaultErrorFunc">virDefaultErrorFunc</a> call it with the error information</li><li>otherwise call <a href="html/libvirt-virterror.html#virDefaultErrorFunc">virDefaultErrorFunc</a>
which is the default error function of the library issuing the error which is the default error function of the library issuing the error
on stderr</li><li>save the error in the connection for later retrieval with <a href="html/libvirt-virterror.html#virGetLastError">virGetLastError</a></li></ol></li> on stderr</li><li>save the error in the connection for later retrieval with <a href="html/libvirt-virterror.html#virGetLastError">virGetLastError</a></li></ol></li></ol>
</ol>
<p>In all cases the error information is provided as a <a href="html/libvirt-virterror.html#virErrorPtr">virErrorPtr</a> pointer to <p>In all cases the error information is provided as a <a href="html/libvirt-virterror.html#virErrorPtr">virErrorPtr</a> pointer to
read-only structure <a href="html/libvirt-virterror.html#virError">virError</a> containing the read-only structure <a href="html/libvirt-virterror.html#virError">virError</a> containing the
following fields:</p> following fields:</p>
<ul> <ul><li>code: an error number from the <a href="html/libvirt-virterror.html#virErrorNumber">virErrorNumber</a>
<li>code: an error number from the <a href="html/libvirt-virterror.html#virErrorNumber">virErrorNumber</a> enum</li><li>domain: an enum indicating which part of libvirt raised the error see
enum</li> <a href="html/libvirt-virterror.html#virErrorDomain">virErrorDomain</a></li><li>level: the error level, usually VIR_ERR_ERROR, though there is room for
<li>domain: an enum indicating which part of libvirt raised the error see warnings like VIR_ERR_WARNING</li><li>message: the full human-readable formatted string of the error</li><li>conn: if available a pointer to the <a href="html/libvirt-libvirt.html#virConnectPtr">virConnectPtr</a>
<a href="html/libvirt-virterror.html#virErrorDomain">virErrorDomain</a></li> connection to the hypervisor where this happened</li><li>dom: if available a pointer to the <a href="html/libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain
<li>level: the error level, usually VIR_ERR_ERROR, though there is room for targeted in the operation</li></ul>
warnings like VIR_ERR_WARNING</li>
<li>message: the full human-readable formatted string of the error</li>
<li>conn: if available a pointer to the <a href="html/libvirt-libvirt.html#virConnectPtr">virConnectPtr</a>
connection to the hypervisor where this happened</li>
<li>dom: if available a pointer to the <a href="html/libvirt-libvirt.html#virDomainPtr">virDomainPtr</a> domain
targeted in the operation</li>
</ul>
<p>and then extra raw information about the error which may be initialized <p>and then extra raw information about the error which may be initialized
to 0 or NULL if unused</p> to 0 or NULL if unused</p>
<ul> <ul><li>str1, str2, str3: string information, usually str1 is the error
<li>str1, str2, str3: string information, usually str1 is the error message format</li><li>int1, int2: integer information</li></ul>
message format</li>
<li>int1, int2: integer information</li>
</ul>
<p>So usually, setting up specific error handling with libvirt consist of <p>So usually, setting up specific error handling with libvirt consist of
registering an handler with with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a> or registering an handler with with <a href="html/libvirt-virterror.html#virSetErrorFunc">virSetErrorFunc</a> or
with <a href="html/libvirt-virterror.html#virConnSetErrorFunc">virConnSetErrorFunc</a>, with <a href="html/libvirt-virterror.html#virConnSetErrorFunc">virConnSetErrorFunc</a>,

View File

@@ -16,127 +16,101 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">XML format</span> <span class="active">XML format</span>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a> <a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a> <a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a> <a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The driver capabilities XML format" class="inactive" href="formatcaps.html">Capabilities</a> <a title="The driver capabilities XML format" class="inactive" href="formatcaps.html">Capabilities</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The host device XML format" class="inactive" href="formatnode.html">Node Devices</a> <a title="The host device XML format" class="inactive" href="formatnode.html">Node Devices</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>XML Format</h1> <h1>XML Format</h1>

View File

@@ -16,127 +16,101 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="active" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="active" href="format.html">XML format</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a> <a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a> <a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a> <a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Capabilities</span> <span class="active">Capabilities</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The host device XML format" class="inactive" href="formatnode.html">Node Devices</a> <a title="The host device XML format" class="inactive" href="formatnode.html">Node Devices</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Driver capabilities XML format</h1> <h1>Driver capabilities XML format</h1>

View File

@@ -16,127 +16,101 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="active" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="active" href="format.html">XML format</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a> <a title="The domain XML format" class="inactive" href="formatdomain.html">Domains</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a> <a title="The virtual network XML format" class="inactive" href="formatnetwork.html">Networks</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a> <a title="The storage pool and volume XML format" class="inactive" href="formatstorage.html">Storage</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="The driver capabilities XML format" class="inactive" href="formatcaps.html">Capabilities</a> <a title="The driver capabilities XML format" class="inactive" href="formatcaps.html">Capabilities</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Node Devices</span> <span class="active">Node Devices</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Node devices XML format</h1> <h1>Node devices XML format</h1>

File diff suppressed because one or more lines are too long

View File

@@ -16,125 +16,92 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<span class="active">Home</span> <span class="active">Home</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>The virtualization API</h1> <h1>The virtualization API</h1>
<h2>libvirt is:</h2> <h2>libvirt is:</h2>
<ul> <ul><li>
<li>
A toolkit to interact with the virtualization capabilities A toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). of recent versions of Linux (and other OSes).
</li> </li><li>
<li>
Free software available under the Free software available under the
<a href="http://www.opensource.org/licenses/lgpl-license.html">GNU <a href="http://www.opensource.org/licenses/lgpl-license.html">GNU
Lesser General Public License</a>. Lesser General Public License</a>.
</li> </li><li>
<li>
A long term stable C API A long term stable C API
</li> </li><li>
<li>
A set of bindings for common languages A set of bindings for common languages
</li> </li><li>
<li>
A <a href="CIM/">CIM provider</a> for the DMTF virtualization schema A <a href="CIM/">CIM provider</a> for the DMTF virtualization schema
</li> </li></ul>
</ul>
<h2>libvirt supports:</h2> <h2>libvirt supports:</h2>
<ul> <ul><li>
<li>
The <a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html">Xen</a> hypervisor The <a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html">Xen</a> hypervisor
on Linux and Solaris hosts. on Linux and Solaris hosts.
</li> </li><li>
<li>
The <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> emulator The <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> emulator
</li> </li><li>
<li>
The <a href="http://kvm.qumranet.com/kvmwiki">KVM</a> Linux hypervisor The <a href="http://kvm.qumranet.com/kvmwiki">KVM</a> Linux hypervisor
</li> </li><li>
<li>
The <a href="http://lxc.sourceforge.net/">LXC</a> Linux container system The <a href="http://lxc.sourceforge.net/">LXC</a> Linux container system
</li> </li><li>
<li>
The <a href="http://openvz.org/">OpenVZ</a> Linux container system The <a href="http://openvz.org/">OpenVZ</a> Linux container system
</li> </li><li>
<li>
Storage on IDE/SCSI/USB disks, FibreChannel, LVM, iSCSI, NFS and filesystems Storage on IDE/SCSI/USB disks, FibreChannel, LVM, iSCSI, NFS and filesystems
</li> </li></ul>
</ul>
<h2>libvirt provides:</h2> <h2>libvirt provides:</h2>
<ul> <ul><li>Remote management using TLS encryption and x509 certificates</li><li>Remote management authenticating with Kerberos and SASL</li><li>Local access control using PolicyKit</li><li>Zero-conf discovery using Avahi multicast-DNS</li><li>Management of virtual machines, virtual networks and storage</li></ul>
<li>Remote management using TLS encryption and x509 certificates</li>
<li>Remote management authenticating with Kerberos and SASL</li>
<li>Local access control using PolicyKit</li>
<li>Zero-conf discovery using Avahi multicast-DNS</li>
<li>Management of virtual machines, virtual networks and storage</li>
</ul>
<p class="image"> <p class="image">
<img src="libvirtLogo.png" alt="libvirt Logo" /> <img src="libvirtLogo.png" alt="libvirt Logo" /></p>
</p>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,107 +16,89 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="active" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="active" href="bindings.html">Language bindings</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<span class="active">Python</span> <span class="active">Python</span>
</div> </div>
</li> </li><li>
</ul> <div>
<a title="overview of the Java API bindings" class="inactive" href="java.html">Java</a>
</div>
</li></ul>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Python API bindings</h1> <h1>Python API bindings</h1>
@@ -128,32 +110,29 @@ becomes methods for the classes, their name is just stripped from the
virConnect or virDomain(Get) prefix and the first letter gets converted to virConnect or virDomain(Get) prefix and the first letter gets converted to
lower case, for example the C functions:</p> lower case, for example the C functions:</p>
<p> <p>
<code>int <a href="html/libvirt-libvirt.html#virConnectNumOfDomains">virConnectNumOfDomains</a> <code>int <a href="html/libvirt-libvirt.html#virConnectNumOfDomains">virConnectNumOfDomains</a>
(virConnectPtr conn);</code> (virConnectPtr conn);</code>
</p> </p>
<p> <p>
<code>int <a href="html/libvirt-libvirt.html#virDomainSetMaxMemory">virDomainSetMaxMemory</a> <code>int <a href="html/libvirt-libvirt.html#virDomainSetMaxMemory">virDomainSetMaxMemory</a>
(virDomainPtr domain, unsigned long memory);</code> (virDomainPtr domain, unsigned long memory);</code>
</p> </p>
<p>become</p> <p>become</p>
<p> <p>
<code>virConn::numOfDomains(self)</code> <code>virConn::numOfDomains(self)</code>
</p> </p>
<p> <p>
<code>virDomain::setMaxMemory(self, memory)</code> <code>virDomain::setMaxMemory(self, memory)</code>
</p> </p>
<p>This process is fully automated, you can get a summary of the conversion <p>This process is fully automated, you can get a summary of the conversion
in the file libvirtclass.txt present in the python dir or in the docs.There in the file libvirtclass.txt present in the python dir or in the docs.There
is a couple of function who don't map directly to their C counterparts due to is a couple of function who don't map directly to their C counterparts due to
specificities in their argument conversions:</p> specificities in their argument conversions:</p>
<ul> <ul><li><code><a href="html/libvirt-libvirt.html#virConnectListDomains">virConnectListDomains</a></code>
<li><code><a href="html/libvirt-libvirt.html#virConnectListDomains">virConnectListDomains</a></code>
is replaced by <code>virDomain::listDomainsID(self)</code> which returns is replaced by <code>virDomain::listDomainsID(self)</code> which returns
a list of the integer ID for the currently running domains</li> a list of the integer ID for the currently running domains</li><li><code><a href="html/libvirt-libvirt.html#virDomainGetInfo">virDomainGetInfo</a></code>
<li><code><a href="html/libvirt-libvirt.html#virDomainGetInfo">virDomainGetInfo</a></code>
is replaced by <code>virDomain::info()</code> which returns a list of is replaced by <code>virDomain::info()</code> which returns a list of
<ol><li>state: one of the state values (virDomainState)</li><li>maxMemory: the maximum memory used by the domain</li><li>memory: the current amount of memory used by the domain</li><li>nbVirtCPU: the number of virtual CPU</li><li>cpuTime: the time used by the domain in nanoseconds</li></ol></li> <ol><li>state: one of the state values (virDomainState)</li><li>maxMemory: the maximum memory used by the domain</li><li>memory: the current amount of memory used by the domain</li><li>nbVirtCPU: the number of virtual CPU</li><li>cpuTime: the time used by the domain in nanoseconds</li></ol></li></ul>
</ul>
<p>So let's look at a simple example inspired from the <code>basic.py</code> <p>So let's look at a simple example inspired from the <code>basic.py</code>
test found in <code>python/tests/</code> in the source tree:</p> test found in <code>python/tests/</code> in the source tree:</p>
<pre>import <span style="color: #0071FF; background-color: #FFFFFF">libvirt</span> <pre>import <span style="color: #0071FF; background-color: #FFFFFF">libvirt</span>
@@ -174,16 +153,10 @@ print "Domain 0: id %d running %s" % (dom0.<span style="color: #FF0080; backgrou
print dom0.<span style="color: #FF0080; background-color: #FFFFFF">info</span>()</pre> print dom0.<span style="color: #FF0080; background-color: #FFFFFF">info</span>()</pre>
<p>There is not much to comment about it, it really is a straight mapping <p>There is not much to comment about it, it really is a straight mapping
from the C API, the only points to notice are:</p> from the C API, the only points to notice are:</p>
<ul> <ul><li>the import of the module called <code><span style="color: #0071FF; background-color: #FFFFFF">libvirt</span></code></li><li>getting a connection to the hypervisor, in that case using the
<li>the import of the module called <code><span style="color: #0071FF; background-color: #FFFFFF">libvirt</span></code></li> openReadOnly function allows the code to execute as a normal user.</li><li>getting an object representing the Domain 0 using <span style="color: #007F00; background-color: #FFFFFF">lookupByName</span></li><li>if the domain is not found a libvirtError exception will be raised</li><li>extracting and printing some information about the domain using
<li>getting a connection to the hypervisor, in that case using the
openReadOnly function allows the code to execute as a normal user.</li>
<li>getting an object representing the Domain 0 using <span style="color: #007F00; background-color: #FFFFFF">lookupByName</span></li>
<li>if the domain is not found a libvirtError exception will be raised</li>
<li>extracting and printing some information about the domain using
various <span style="color: #E50073; background-color: #FFFFFF">methods</span> various <span style="color: #E50073; background-color: #FFFFFF">methods</span>
associated to the virDomain class.</li> associated to the virDomain class.</li></ul>
</ul>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,75 +16,60 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Related Links</span> <span class="active">Related Links</span>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Overview of applications using the libvirt APIs" class="inactive" href="apps.html">Applications</a> <a title="Overview of applications using the libvirt APIs" class="inactive" href="apps.html">Applications</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Related links</h1> <h1>Related links</h1>
@@ -94,59 +79,33 @@
and <a href="bindings.html">language bindings for libvirt</a>. and <a href="bindings.html">language bindings for libvirt</a>.
</p> </p>
<h2>Other library bindings</h2> <h2>Other library bindings</h2>
<ul> <ul><li><a href="/CIM/">CIM provider</a></li><li><a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a></li><li><a href="/ocaml/">OCaml bindings</a></li><li><a href="/ruby/">Ruby bindings</a></li></ul>
<li>
<a href="/CIM/">CIM provider</a>
</li>
<li>
<a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>
</li>
<li>
<a href="/ocaml/">OCaml bindings</a>
</li>
<li>
<a href="/ruby/">Ruby bindings</a>
</li>
</ul>
<h2>Hypervisors / emulators / containers</h2> <h2>Hypervisors / emulators / containers</h2>
<ul> <ul><li>
<li>
The <a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html">Xen</a> hypervisor The <a href="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html">Xen</a> hypervisor
</li> </li><li>
<li>
The <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> emulator The <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> emulator
</li> </li><li>
<li>
The <a href="http://kvm.qumranet.com/kvmwiki">KVM</a> Linux hypervisor The <a href="http://kvm.qumranet.com/kvmwiki">KVM</a> Linux hypervisor
</li> </li><li>
<li>
The <a href="http://lxc.sourceforge.net/">LXC</a> Linux container system The <a href="http://lxc.sourceforge.net/">LXC</a> Linux container system
</li> </li><li>
<li>
The <a href="http://openvz.org/">OpenVZ</a> Linux container system The <a href="http://openvz.org/">OpenVZ</a> Linux container system
</li> </li><li>
<li>
The <a href="http://virt.kernelnewbies.org/lguest">lGuest</a> paravirtualized hypervisor The <a href="http://virt.kernelnewbies.org/lguest">lGuest</a> paravirtualized hypervisor
</li> </li><li>
<li>
The <a href="http://virt.kernelnewbies.org/Linux-VServer">Linux-VServer</a> container system The <a href="http://virt.kernelnewbies.org/Linux-VServer">Linux-VServer</a> container system
</li> </li><li>
<li>
The <a href="http://virt.kernelnewbies.org/UML">User Mode Linux</a> paravirtualized hypervisor The <a href="http://virt.kernelnewbies.org/UML">User Mode Linux</a> paravirtualized hypervisor
</li> </li></ul>
</ul>
<h2>Virtualization technology</h2> <h2>Virtualization technology</h2>
<ul> <ul><li>
<li> <a href="http://virt.kernelnewbies.org/">Kernel Newbies Virtualization guide</a>
<a href="http://virt.kernelnewbies.org/">Kernel Newbies Virtualization guide</a> </li><li>
</li> <a href="http://www-128.ibm.com/developerworks/linux/library/l-linuxvirt/?ca=dgr-lnxw01Virtual-Linux">IBM developerworks virtualization guide</a>
<li> </li><li>
<a href="http://www-128.ibm.com/developerworks/linux/library/l-linuxvirt/?ca=dgr-lnxw01Virtual-Linux">IBM developerworks virtualization guide</a> <a href="http://en.wikipedia.org/wiki/Virtualization">Wikipedia Virtualization</a>
</li> </li></ul>
<li>
<a href="http://en.wikipedia.org/wiki/Virtualization">Wikipedia Virtualization</a>
</li>
</ul>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -16,203 +16,150 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Sitemap</span> <span class="active">Sitemap</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Sitemap</h1> <h1>Sitemap</h1>
<div id="sitemap"> <div id="sitemap">
<ul> <ul><li>
<li> <a href="index.html">Home</a>
<a href="index.html">Home</a> <span>Front page of the libvirt website</span>
<span>Front page of the libvirt website</span> </li><li>
</li> <a href="news.html">News</a>
<li> <span>Details of new features and bugs fixed in each release</span>
<a href="news.html">News</a> <ul><li>
<span>Details of new features and bugs fixed in each release</span> <a href="ChangeLog.html">Changelog</a>
<ul> <span>Latest commit messages from the source repository </span>
<li> </li></ul></li><li>
<a href="ChangeLog.html">Changelog</a> <a href="downloads.html">Downloads</a>
<span>Latest commit messages from the source repository </span> <span>Get the latest source releases, binary builds and get access to the source repository</span>
</li> </li><li>
</ul> <a href="docs.html">Documentation</a>
</li> <span>Information for users, administrators and developers</span>
<li> <ul><li>
<a href="downloads.html">Downloads</a> <a href="deployment.html">Deployment</a>
<span>Get the latest source releases, binary builds and get access to the source repository</span> <span>Information about deploying and using libvirt</span>
</li> <ul><li>
<li> <a href="uri.html">URI format</a>
<a href="docs.html">Documentation</a> <span>The URI formats used for connecting to libvirt</span>
<span>Information for users, administrators and developers</span> </li><li>
<ul> <a href="remote.html">Remote access</a>
<li> <span>Enable remote access over TCP</span>
<a href="deployment.html">Deployment</a> </li><li>
<span>Information about deploying and using libvirt</span> <a href="auth.html">Authentication</a>
<ul> <span>Configure authentication for the libvirt daemon</span>
<li> </li><li>
<a href="uri.html">URI format</a> <a href="windows.html">Windows port</a>
<span>The URI formats used for connecting to libvirt</span> <span>Access the libvirt daemon from a native Windows client</span>
</li> </li></ul></li><li>
<li> <a href="intro.html">Architecture</a>
<a href="remote.html">Remote access</a> <span>Overview of the logical subsystems in the libvirt API</span>
<span>Enable remote access over TCP</span> <ul><li>
</li> <a href="archdomain.html">Domains</a>
<li> <span>Managing virtual machines</span>
<a href="auth.html">Authentication</a> </li><li>
<span>Configure authentication for the libvirt daemon</span> <a href="archnetwork.html">Network</a>
</li> <span>Providing isolated networks and NAT based network connectivity</span>
<li> </li><li>
<a href="windows.html">Windows port</a> <a href="archstorage.html">Storage</a>
<span>Access the libvirt daemon from a native Windows client</span> <span>Managing storage pools and volumes</span>
</li> </li><li>
</ul> <a href="archnode.html">Node Devices</a>
</li> <span>Enumerating host node devices</span>
<li> </li></ul></li><li>
<a href="intro.html">Architecture</a> <a href="format.html">XML format</a>
<span>Overview of the logical subsystems in the libvirt API</span> <span>Description of the XML formats used in libvirt</span>
<ul> <ul><li>
<li> <a href="formatdomain.html">Domains</a>
<a href="archdomain.html">Domains</a> <span>The domain XML format</span>
<span>Managing virtual machines</span> </li><li>
</li> <a href="formatnetwork.html">Networks</a>
<li> <span>The virtual network XML format</span>
<a href="archnetwork.html">Network</a> </li><li>
<span>Providing isolated networks and NAT based network connectivity</span> <a href="formatstorage.html">Storage</a>
</li> <span>The storage pool and volume XML format</span>
<li> </li><li>
<a href="archstorage.html">Storage</a> <a href="formatcaps.html">Capabilities</a>
<span>Managing storage pools and volumes</span> <span>The driver capabilities XML format</span>
</li> </li><li>
<li> <a href="formatnode.html">Node Devices</a>
<a href="archnode.html">Node Devices</a> <span>The host device XML format</span>
<span>Enumerating host node devices</span> </li></ul></li><li>
</li> <a href="drivers.html">Drivers</a>
</ul> <span>Hypervisor specific driver information</span>
</li> <ul><li>
<li> <a href="drvxen.html">Xen</a>
<a href="format.html">XML format</a> <span>Driver the Xen hypervisor</span>
<span>Description of the XML formats used in libvirt</span> </li><li>
<ul> <a href="drvqemu.html">QEMU / KVM</a>
<li> <span>Driver for QEMU, KQEMU, KVM and Xenner</span>
<a href="formatdomain.html">Domains</a> </li><li>
<span>The domain XML format</span> <a href="drvlxc.html">Linux Container</a>
</li> <span>Driver for the Linux native container API</span>
<li> </li><li>
<a href="formatnetwork.html">Networks</a> <a href="drvtest.html">Test</a>
<span>The virtual network XML format</span> <span>Psuedo-driver simulating APIs in memory for test suites</span>
</li> </li><li>
<li> <a href="drvremote.html">Remote</a>
<a href="formatstorage.html">Storage</a> <span>Driver providing secure remote to the libvirt APIs</span>
<span>The storage pool and volume XML format</span> </li><li>
</li> <a href="drvopenvz.html">OpenVZ</a>
<li> <span>Driver for the OpenVZ container technology</span>
<a href="formatcaps.html">Capabilities</a> </li><li>
<span>The driver capabilities XML format</span> <a href="storage.html">Storage</a>
</li> <span>Driver for the storage management APIs</span>
<li> </li></ul></li><li>
<a href="formatnode.html">Node Devices</a> <a href="html/index.html">API reference</a>
<span>The host device XML format</span> <span>Reference manual for the C public API</span>
</li> <!-- This is the desired new style API breakdown
</ul>
</li>
<li>
<a href="drivers.html">Drivers</a>
<span>Hypervisor specific driver information</span>
<ul>
<li>
<a href="drvxen.html">Xen</a>
<span>Driver the Xen hypervisor</span>
</li>
<li>
<a href="drvqemu.html">QEMU / KVM</a>
<span>Driver for QEMU, KQEMU, KVM and Xenner</span>
</li>
<li>
<a href="drvlxc.html">Linux Container</a>
<span>Driver for the Linux native container API</span>
</li>
<li>
<a href="drvtest.html">Test</a>
<span>Psuedo-driver simulating APIs in memory for test suites</span>
</li>
<li>
<a href="drvremote.html">Remote</a>
<span>Driver providing secure remote to the libvirt APIs</span>
</li>
<li>
<a href="drvopenvz.html">OpenVZ</a>
<span>Driver for the OpenVZ container technology</span>
</li>
<li>
<a href="storage.html">Storage</a>
<span>Driver for the storage management APIs</span>
</li>
</ul>
</li>
<li>
<a href="html/index.html">API reference</a>
<span>Reference manual for the C public API</span>
<!-- This is the desired new style API breakdown
<ul> <ul>
<li> <li>
<a href="apiconn.html">Connection</a> <a href="apiconn.html">Connection</a>
@@ -240,65 +187,46 @@
</li> </li>
</ul> </ul>
--> -->
<ul> <ul><li>
<li> <a href="html/libvirt-libvirt.html">libvirt</a>
<a href="html/libvirt-libvirt.html">libvirt</a> <span>core interfaces for the libvirt library</span>
<span>core interfaces for the libvirt library</span> </li><li>
</li> <a href="html/libvirt-virterror.html">virterror</a>
<li> <span>error handling interfaces for the libvirt library</span>
<a href="html/libvirt-virterror.html">virterror</a> </li><li>
<span>error handling interfaces for the libvirt library</span> <a href="hvsupport.html">Driver support</a>
</li> <span>matrix of API support per hypervisor per release</span>
<li> </li></ul></li><li>
<a href="hvsupport.html">Driver support</a> <a href="bindings.html">Language bindings</a>
<span>matrix of API support per hypervisor per release</span> <span>Bindings of the libvirt API for other languages</span>
</li> <ul><li>
</ul> <a href="python.html">Python</a>
</li> <span>overview of the python API bindings</span>
<li> </li><li>
<a href="bindings.html">Language bindings</a> <a href="java.html">Java</a>
<span>Bindings of the libvirt API for other languages</span> <span>overview of the Java API bindings</span>
<ul> </li></ul></li></ul></li><li>
<li> <a href="http://wiki.libvirt.org">Wiki</a>
<a href="python.html">Python</a> <span>User contributed content</span>
<span>overview of the python API bindings</span> </li><li>
</li> <a href="FAQ.html">FAQ</a>
</ul> <span>Frequently asked questions</span>
</li> </li><li>
</ul> <a href="bugs.html">Bug reports</a>
</li> <span>How and where to report bugs and request features</span>
<li> </li><li>
<a href="http://wiki.libvirt.org">Wiki</a> <a href="contact.html">Contact</a>
<span>User contributed content</span> <span>How to contact the developers via email and IRC</span>
</li> </li><li>
<li> <a href="relatedlinks.html">Related Links</a>
<a href="FAQ.html">FAQ</a> <span>Miscellaneous links of interest related to libvirt</span>
<span>Frequently asked questions</span> <ul><li>
</li> <a href="apps.html">Applications</a>
<li> <span>Overview of applications using the libvirt APIs</span>
<a href="bugs.html">Bug reports</a> </li></ul></li><li>
<span>How and where to report bugs and request features</span> <a href="sitemap.html">Sitemap</a>
</li> <span>Overview of all content on the website</span>
<li> </li></ul></div>
<a href="contact.html">Contact</a>
<span>How to contact the developers via email and IRC</span>
</li>
<li>
<a href="relatedlinks.html">Related Links</a>
<span>Miscellaneous links of interest related to libvirt</span>
<ul>
<li>
<a href="apps.html">Applications</a>
<span>Overview of applications using the libvirt APIs</span>
</li>
</ul>
</li>
<li>
<a href="sitemap.html">Sitemap</a>
<span>Overview of all content on the website</span>
</li>
</ul>
</div>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -184,6 +184,10 @@
<a href="python.html">Python</a> <a href="python.html">Python</a>
<span>overview of the python API bindings</span> <span>overview of the python API bindings</span>
</li> </li>
<li>
<a href="java.html">Java</a>
<span>overview of the Java API bindings</span>
</li>
</ul> </ul>
</li> </li>
</ul> </ul>

View File

@@ -16,137 +16,109 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="inactive" href="deployment.html">Deployment</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="active" href="drivers.html">Drivers</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a> <a title="Driver the Xen hypervisor" class="inactive" href="drvxen.html">Xen</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a> <a title="Driver for QEMU, KQEMU, KVM and Xenner" class="inactive" href="drvqemu.html">QEMU / KVM</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a> <a title="Driver for the Linux native container API" class="inactive" href="drvlxc.html">Linux Container</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a> <a title="Psuedo-driver simulating APIs in memory for test suites" class="inactive" href="drvtest.html">Test</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a> <a title="Driver providing secure remote to the libvirt APIs" class="inactive" href="drvremote.html">Remote</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a> <a title="Driver for the OpenVZ container technology" class="inactive" href="drvopenvz.html">OpenVZ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Storage</span> <span class="active">Storage</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Storage Management</h1> <h1>Storage Management</h1>
@@ -154,26 +126,19 @@
This page describes the backends for the storage management capabilities in This page describes the backends for the storage management capabilities in
libvirt. libvirt.
</p> </p>
<ul> <ul><li>
<li> <a href="#StorageBackendDir">Directory backend</a>
<a href="#StorageBackendDir">Directory backend</a> </li><li>
</li> <a href="#StorageBackendFS">Local filesystem backend</a>
<li> </li><li>
<a href="#StorageBackendFS">Local filesystem backend</a> <a href="#StorageBackendNetFS">Network filesystem backend</a>
</li> </li><li>
<li> <a href="#StorageBackendLogical">Logical backend</a>
<a href="#StorageBackendNetFS">Network filesystem backend</a> </li><li>
</li> <a href="#StorageBackendDisk">Disk backend</a>
<li> </li><li>
<a href="#StorageBackendLogical">Logical backend</a> <a href="#StorageBackendISCSI">iSCSI backend</a>
</li> </li></ul>
<li>
<a href="#StorageBackendDisk">Disk backend</a>
</li>
<li>
<a href="#StorageBackendISCSI">iSCSI backend</a>
</li>
</ul>
<h2> <h2>
<a name="StorageBackendDir" id="StorageBackendDir">Directory pool</a> <a name="StorageBackendDir" id="StorageBackendDir">Directory pool</a>
</h2> </h2>
@@ -203,18 +168,7 @@ libvirt.
<p> <p>
One of the following options: One of the following options:
</p> </p>
<ul> <ul><li><code>raw</code>: a plain file</li><li><code>bochs</code>: Bochs disk image format</li><li><code>cloop</code>: compressed loopback disk image format</li><li><code>cow</code>: User Mode Linux disk image format</li><li><code>dmg</code>: Mac disk image format</li><li><code>iso</code>: CDROM disk image format</li><li><code>qcow</code>: QEMU v1 disk image format</li><li><code>qcow2</code>: QEMU v2 disk image format</li><li><code>vmdk</code>: VMWare disk image format</li><li><code>vpc</code>: VirtualPC disk image format</li></ul>
<li><code>raw</code>: a plain file</li>
<li><code>bochs</code>: Bochs disk image format</li>
<li><code>cloop</code>: compressed loopback disk image format</li>
<li><code>cow</code>: User Mode Linux disk image format</li>
<li><code>dmg</code>: Mac disk image format</li>
<li><code>iso</code>: CDROM disk image format</li>
<li><code>qcow</code>: QEMU v1 disk image format</li>
<li><code>qcow2</code>: QEMU v2 disk image format</li>
<li><code>vmdk</code>: VMWare disk image format</li>
<li><code>vpc</code>: VirtualPC disk image format</li>
</ul>
<p> <p>
When listing existing volumes all these formats are supported When listing existing volumes all these formats are supported
natively. When creating new volumes, only a subset may be natively. When creating new volumes, only a subset may be
@@ -253,42 +207,29 @@ libvirt.
<p> <p>
The filesystem pool supports the following formats: The filesystem pool supports the following formats:
</p> </p>
<ul> <ul><li><code>auto</code> - automatically determine format</li><li>
<li><code>auto</code> - automatically determine format</li> <code>ext2</code>
<li> </li><li>
<code>ext2</code> <code>ext3</code>
</li> </li><li>
<li> <code>ext4</code>
<code>ext3</code> </li><li>
</li> <code>ufs</code>
<li> </li><li>
<code>ext4</code> <code>iso9660</code>
</li> </li><li>
<li> <code>udf</code>
<code>ufs</code> </li><li>
</li> <code>gfs</code>
<li> </li><li>
<code>iso9660</code> <code>gfs2</code>
</li> </li><li>
<li> <code>vfat</code>
<code>udf</code> </li><li>
</li> <code>hfs+</code>
<li> </li><li>
<code>gfs</code> <code>xfs</code>
</li> </li></ul>
<li>
<code>gfs2</code>
</li>
<li>
<code>vfat</code>
</li>
<li>
<code>hfs+</code>
</li>
<li>
<code>xfs</code>
</li>
</ul>
<h3>Valid volume format types</h3> <h3>Valid volume format types</h3>
<p> <p>
The valid volume types are the same as for the <code>directory</code> The valid volume types are the same as for the <code>directory</code>
@@ -321,12 +262,9 @@ libvirt.
<p> <p>
The network filesystem pool supports the following formats: The network filesystem pool supports the following formats:
</p> </p>
<ul> <ul><li><code>auto</code> - automatically determine format</li><li>
<li><code>auto</code> - automatically determine format</li> <code>nfs</code>
<li> </li></ul>
<code>nfs</code>
</li>
</ul>
<h3>Valid volume format types</h3> <h3>Valid volume format types</h3>
<p> <p>
The valid volume types are the same as for the <code>directory</code> The valid volume types are the same as for the <code>directory</code>
@@ -392,29 +330,21 @@ libvirt.
The disk volume pool accepts the following pool format types, representing The disk volume pool accepts the following pool format types, representing
the common partition table types: the common partition table types:
</p> </p>
<ul> <ul><li>
<li> <code>dos</code>
<code>dos</code> </li><li>
</li> <code>dvh</code>
<li> </li><li>
<code>dvh</code> <code>gpt</code>
</li> </li><li>
<li> <code>mac</code>
<code>gpt</code> </li><li>
</li> <code>bsd</code>
<li> </li><li>
<code>mac</code> <code>pc98</code>
</li> </li><li>
<li> <code>sun</code>
<code>bsd</code> </li></ul>
</li>
<li>
<code>pc98</code>
</li>
<li>
<code>sun</code>
</li>
</ul>
<p> <p>
The <code>dos</code> or <code>gpt</code> formats are recommended for The <code>dos</code> or <code>gpt</code> formats are recommended for
best portability - the latter is needed for disks larger than 2TB. best portability - the latter is needed for disks larger than 2TB.
@@ -424,32 +354,23 @@ libvirt.
The disk volume pool accepts the following volume format types, representing The disk volume pool accepts the following volume format types, representing
the common partition entry types: the common partition entry types:
</p> </p>
<ul> <ul><li>
<li> <code>none</code>
<code>none</code> </li><li>
</li> <code>linux</code>
<li> </li><li>
<code>linux</code> <code>fat16</code>
</li> </li><li>
<li> <code>fat32</code>
<code>fat16</code> </li><li>
</li> <code>linux-swap</code>
<li> </li><li>
<code>fat32</code> <code>linux-lvm</code>
</li> </li><li>
<li> <code>linux-raid</code>
<code>linux-swap</code> </li><li>
</li> <code>extended</code>
<li> </li></ul>
<code>linux-lvm</code>
</li>
<li>
<code>linux-raid</code>
</li>
<li>
<code>extended</code>
</li>
</ul>
<h2> <h2>
<a name="StorageBackendISCSI" id="StorageBackendISCSI">iSCSI volume pools</a> <a name="StorageBackendISCSI" id="StorageBackendISCSI">iSCSI volume pools</a>
</h2> </h2>

View File

@@ -16,122 +16,97 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<span class="active">URI format</span> <span class="active">URI format</span>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a> <a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a> <a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a> <a title="Access the libvirt daemon from a native Windows client" class="inactive" href="windows.html">Windows port</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Connection URIs</h1> <h1>Connection URIs</h1>
@@ -146,32 +121,24 @@ machine over the network.
To this end, libvirt uses URIs as used on the Web and as defined in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. This page To this end, libvirt uses URIs as used on the Web and as defined in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. This page
documents libvirt URIs. documents libvirt URIs.
</p> </p>
<ul> <ul><li>
<li> <a href="#URI_libvirt">Specifying URIs to libvirt</a>
<a href="#URI_libvirt">Specifying URIs to libvirt</a> </li><li>
</li> <a href="#URI_virsh">Specifying URIs to virsh, virt-manager and virt-install</a>
<li> </li><li>
<a href="#URI_virsh">Specifying URIs to virsh, virt-manager and virt-install</a> <a href="#URI_xen">xen:/// URI</a>
</li> </li><li>
<li> <a href="#URI_qemu">qemu:///... QEMU and KVM URIs</a>
<a href="#URI_xen">xen:/// URI</a> </li><li>
</li> <a href="#URI_remote">Remote URIs</a>
<li> </li><li>
<a href="#URI_qemu">qemu:///... QEMU and KVM URIs</a> <a href="#URI_test">test:///... Test URIs</a>
</li> </li><li>
<li> <a href="#URI_legacy">Other &amp; legacy URI formats</a>
<a href="#URI_remote">Remote URIs</a> </li></ul>
</li>
<li>
<a href="#URI_test">test:///... Test URIs</a>
</li>
<li>
<a href="#URI_legacy">Other &amp; legacy URI formats</a>
</li>
</ul>
<h3> <h3>
<a name="URI_libvirt" id="URI_libvirt">Specifying URIs to libvirt</a> <a name="URI_libvirt" id="URI_libvirt">Specifying URIs to libvirt</a>
</h3> </h3>
<p> <p>
The URI is passed as the <code>name</code> parameter to <a href="html/libvirt-libvirt.html#virConnectOpen"><code>virConnectOpen</code></a> or <a href="html/libvirt-libvirt.html#virConnectOpenReadOnly"><code>virConnectOpenReadOnly</code></a>. For example: The URI is passed as the <code>name</code> parameter to <a href="html/libvirt-libvirt.html#virConnectOpen"><code>virConnectOpen</code></a> or <a href="html/libvirt-libvirt.html#virConnectOpenReadOnly"><code>virConnectOpenReadOnly</code></a>. For example:
</p> </p>
@@ -179,8 +146,8 @@ The URI is passed as the <code>name</code> parameter to <a href="html/libvirt-li
virConnectPtr conn = virConnectOpenReadOnly (<b>"test:///default"</b>); virConnectPtr conn = virConnectOpenReadOnly (<b>"test:///default"</b>);
</pre> </pre>
<h3> <h3>
<a name="URI_virsh" id="URI_virsh">Specifying URIs to virsh, virt-manager and virt-install</a> <a name="URI_virsh" id="URI_virsh">Specifying URIs to virsh, virt-manager and virt-install</a>
</h3> </h3>
<p> <p>
In virsh use the <code>-c</code> or <code>--connect</code> option: In virsh use the <code>-c</code> or <code>--connect</code> option:
</p> </p>
@@ -210,19 +177,19 @@ In virt-install use the <code>--connect=</code><i>URI</i> option:
virt-install <b>--connect=test:///default</b> <i>[other options]</i> virt-install <b>--connect=test:///default</b> <i>[other options]</i>
</pre> </pre>
<h3> <h3>
<a name="URI_xen" id="URI_xen">xen:/// URI</a> <a name="URI_xen" id="URI_xen">xen:/// URI</a>
</h3> </h3>
<p> <p>
<i>This section describes a feature which is new in libvirt &gt; <i>This section describes a feature which is new in libvirt &gt;
0.2.3. For libvirt &#8804; 0.2.3 use <a href="#URI_legacy_xen"><code>"xen"</code></a>.</i> 0.2.3. For libvirt &#8804; 0.2.3 use <a href="#URI_legacy_xen"><code>"xen"</code></a>.</i>
</p> </p>
<p> <p>
To access a Xen hypervisor running on the local machine To access a Xen hypervisor running on the local machine
use the URI <code>xen:///</code>. use the URI <code>xen:///</code>.
</p> </p>
<h3> <h3>
<a name="URI_qemu" id="URI_qemu">qemu:///... QEMU and KVM URIs</a> <a name="URI_qemu" id="URI_qemu">qemu:///... QEMU and KVM URIs</a>
</h3> </h3>
<p> <p>
To use QEMU support in libvirt you must be running the To use QEMU support in libvirt you must be running the
<code>libvirtd</code> daemon (named <code>libvirt_qemud</code> <code>libvirtd</code> daemon (named <code>libvirt_qemud</code>
@@ -238,10 +205,7 @@ of all users of the machine (among other things). </p>
<p> <p>
So to connect to the daemon, one of two different URIs is used: So to connect to the daemon, one of two different URIs is used:
</p> </p>
<ul> <ul><li><code>qemu:///system</code> connects to a system mode daemon. </li><li><code>qemu:///session</code> connects to a session mode daemon. </li></ul>
<li><code>qemu:///system</code> connects to a system mode daemon. </li>
<li><code>qemu:///session</code> connects to a session mode daemon. </li>
</ul>
<p> <p>
(If you do <code>libvirtd --help</code>, the daemon will print (If you do <code>libvirtd --help</code>, the daemon will print
out the paths of the Unix domain socket(s) that it listens on in out the paths of the Unix domain socket(s) that it listens on in
@@ -253,49 +217,28 @@ KVM guests in the <a href="format.html#KVM1">guest XML as described
here</a>. here</a>.
</p> </p>
<h3> <h3>
<a name="URI_remote" id="URI_remote">Remote URIs</a> <a name="URI_remote" id="URI_remote">Remote URIs</a>
</h3> </h3>
<p> <p>
Remote URIs are formed by taking ordinary local URIs and adding a Remote URIs are formed by taking ordinary local URIs and adding a
hostname and/or transport name. For example: hostname and/or transport name. For example:
</p> </p>
<table class="top_table"> <table class="top_table"><tr><th> Local URI </th><th> Remote URI </th><th> Meaning </th></tr><tr><td>
<tr> <code>xen:///</code>
<th> Local URI </th> </td><td>
<th> Remote URI </th> <code>xen://oirase/</code>
<th> Meaning </th> </td><td> Connect to the Xen hypervisor running on host <code>oirase</code>
</tr> using TLS. </td></tr><tr><td>
<tr> <code>xen:///</code>
<td> </td><td>
<code>xen:///</code> <code>xen+ssh://oirase/</code>
</td> </td><td> Connect to the Xen hypervisor running on host <code>oirase</code>
<td> by going over an <code>ssh</code> connection. </td></tr><tr><td>
<code>xen://oirase/</code> <code>test:///default</code>
</td> </td><td>
<td> Connect to the Xen hypervisor running on host <code>oirase</code> <code>test+tcp://oirase/default</code>
using TLS. </td> </td><td> Connect to the test driver on host <code>oirase</code>
</tr> using an unsecured TCP connection. </td></tr></table>
<tr>
<td>
<code>xen:///</code>
</td>
<td>
<code>xen+ssh://oirase/</code>
</td>
<td> Connect to the Xen hypervisor running on host <code>oirase</code>
by going over an <code>ssh</code> connection. </td>
</tr>
<tr>
<td>
<code>test:///default</code>
</td>
<td>
<code>test+tcp://oirase/default</code>
</td>
<td> Connect to the test driver on host <code>oirase</code>
using an unsecured TCP connection. </td>
</tr>
</table>
<p> <p>
Remote URIs in libvirt offer a rich syntax and many features. Remote URIs in libvirt offer a rich syntax and many features.
We refer you to <a href="remote.html#Remote_URI_reference">the libvirt We refer you to <a href="remote.html#Remote_URI_reference">the libvirt
@@ -303,25 +246,22 @@ remote URI reference</a> and <a href="remote.html">full documentation
for libvirt remote support</a>. for libvirt remote support</a>.
</p> </p>
<h3> <h3>
<a name="URI_test" id="URI_test">test:///... Test URIs</a> <a name="URI_test" id="URI_test">test:///... Test URIs</a>
</h3> </h3>
<p> <p>
The test driver is a dummy hypervisor for test purposes. The test driver is a dummy hypervisor for test purposes.
The URIs supported are: The URIs supported are:
</p> </p>
<ul> <ul><li><code>test:///default</code> connects to a default set of
<li><code>test:///default</code> connects to a default set of host definitions built into the driver. </li><li><code>test:///path/to/host/definitions</code> connects to
host definitions built into the driver. </li>
<li><code>test:///path/to/host/definitions</code> connects to
a set of host definitions held in the named file. a set of host definitions held in the named file.
</li> </li></ul>
</ul>
<h3> <h3>
<a name="URI_legacy" id="URI_legacy">Other &amp; legacy URI formats</a> <a name="URI_legacy" id="URI_legacy">Other &amp; legacy URI formats</a>
</h3> </h3>
<h4> <h4>
<a name="URI_NULL" id="URI_NULL">NULL and empty string URIs</a> <a name="URI_NULL" id="URI_NULL">NULL and empty string URIs</a>
</h4> </h4>
<p> <p>
Libvirt allows you to pass a <code>NULL</code> pointer to Libvirt allows you to pass a <code>NULL</code> pointer to
<code>virConnectOpen*</code>. Empty string (<code>""</code>) acts in <code>virConnectOpen*</code>. Empty string (<code>""</code>) acts in
@@ -344,8 +284,8 @@ application wishes to connect specifically to a Xen hypervisor, then
for future proofing it should choose a full <a href="#URI_xen"><code>xen:///</code> URI</a>. for future proofing it should choose a full <a href="#URI_xen"><code>xen:///</code> URI</a>.
</p> </p>
<h4> <h4>
<a name="URI_file" id="URI_file">File paths (xend-unix-server)</a> <a name="URI_file" id="URI_file">File paths (xend-unix-server)</a>
</h4> </h4>
<p> <p>
If XenD is running and configured in <code>/etc/xen/xend-config.sxp</code>: If XenD is running and configured in <code>/etc/xen/xend-config.sxp</code>:
</p> </p>
@@ -361,8 +301,8 @@ using a file URI such as:
virsh -c ///var/run/xend/xend-socket virsh -c ///var/run/xend/xend-socket
</pre> </pre>
<h4> <h4>
<a name="URI_http" id="URI_http">Legacy: <code>http://...</code> (xend-http-server)</a> <a name="URI_http" id="URI_http">Legacy: <code>http://...</code> (xend-http-server)</a>
</h4> </h4>
<p> <p>
If XenD is running and configured in <code>/etc/xen/xend-config.sxp</code>: If XenD is running and configured in <code>/etc/xen/xend-config.sxp</code>:
@@ -386,27 +326,23 @@ recommended for production use. Instead use <a href="remote.html">libvirt's rem
<p> <p>
Notes: Notes:
</p> </p>
<ol> <ol><li> The HTTP client does not fully support IPv6. </li><li> Many features do not work as expected across HTTP connections, in
<li> The HTTP client does not fully support IPv6. </li>
<li> Many features do not work as expected across HTTP connections, in
particular, <a href="html/libvirt-libvirt.html#virConnectGetCapabilities">virConnectGetCapabilities</a>. particular, <a href="html/libvirt-libvirt.html#virConnectGetCapabilities">virConnectGetCapabilities</a>.
The <a href="remote.html">remote support</a> however does work The <a href="remote.html">remote support</a> however does work
correctly. </li> correctly. </li><li> XenD's new-style XMLRPC interface is not supported by
<li> XenD's new-style XMLRPC interface is not supported by
libvirt, only the old-style sexpr interface known in the Xen libvirt, only the old-style sexpr interface known in the Xen
documentation as "unix server" or "http server".</li> documentation as "unix server" or "http server".</li></ol>
</ol>
<h4> <h4>
<a name="URI_legacy_xen" id="URI_legacy_xen">Legacy: <code>"xen"</code></a> <a name="URI_legacy_xen" id="URI_legacy_xen">Legacy: <code>"xen"</code></a>
</h4> </h4>
<p> <p>
Another legacy URI is to specify name as the string Another legacy URI is to specify name as the string
<code>"xen"</code>. This will continue to refer to the Xen <code>"xen"</code>. This will continue to refer to the Xen
hypervisor. However you should prefer a full <a href="#URI_xen"><code>xen:///</code> URI</a> in all future code. hypervisor. However you should prefer a full <a href="#URI_xen"><code>xen:///</code> URI</a> in all future code.
</p> </p>
<h4> <h4>
<a name="URI_legacy_proxy" id="URI_legacy_proxy">Legacy: Xen proxy</a> <a name="URI_legacy_proxy" id="URI_legacy_proxy">Legacy: Xen proxy</a>
</h4> </h4>
<p> <p>
Libvirt continues to support connections to a separately running Xen Libvirt continues to support connections to a separately running Xen
proxy daemon. This provides a way to allow non-root users to make a proxy daemon. This provides a way to allow non-root users to make a

View File

@@ -16,147 +16,119 @@
<div id="header"> <div id="header">
<div id="headerLogo"></div> <div id="headerLogo"></div>
<div id="headerSearch"> <div id="headerSearch">
<form action="search.php" enctype="application/x-www-form-urlencoded" method="get"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div>
<div>
<input id="query" name="query" type="text" size="12" value="" /> <input id="query" name="query" type="text" size="12" value="" />
<input id="submit" name="submit" type="submit" value="Search" /> <input id="submit" name="submit" type="submit" value="Search" />
</div> </div></form>
</form>
</div> </div>
</div> </div>
<div id="body"> <div id="body">
<div id="menu"> <div id="menu">
<ul class="l0"> <ul class="l0"><li>
<li>
<div> <div>
<a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a> <a title="Information for users, administrators and developers" class="active" href="docs.html">Documentation</a>
<ul class="l1"> <ul class="l1"><li>
<li>
<div> <div>
<a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a> <a title="Information about deploying and using libvirt" class="active" href="deployment.html">Deployment</a>
<ul class="l2"> <ul class="l2"><li>
<li>
<div> <div>
<a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a> <a title="The URI formats used for connecting to libvirt" class="inactive" href="uri.html">URI format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a> <a title="Enable remote access over TCP" class="inactive" href="remote.html">Remote access</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a> <a title="Configure authentication for the libvirt daemon" class="inactive" href="auth.html">Authentication</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<span class="active">Windows port</span> <span class="active">Windows port</span>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a> <a title="Overview of the logical subsystems in the libvirt API" class="inactive" href="intro.html">Architecture</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a> <a title="Description of the XML formats used in libvirt" class="inactive" href="format.html">XML format</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a> <a title="Hypervisor specific driver information" class="inactive" href="drivers.html">Drivers</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a> <a title="Reference manual for the C public API" class="inactive" href="html/index.html">API reference</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a> <a title="Bindings of the libvirt API for other languages" class="inactive" href="bindings.html">Language bindings</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a> <a title="Frequently asked questions" class="inactive" href="FAQ.html">FAQ</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a>
</div> </div>
</li> </li><li>
<li>
<div> <div>
<a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a>
</div> </div>
</li> </li></ul>
</ul>
</div> </div>
<div id="content"> <div id="content">
<h1>Windows support</h1> <h1>Windows support</h1>
<p> <p>
Instructions for compiling and installing libvirt on Windows. Instructions for compiling and installing libvirt on Windows.
</p> </p>
<ul> <ul><li>
<li> <a href="#Windows_binaries">Binaries</a>
<a href="#Windows_binaries">Binaries</a> </li><li>
</li> <a href="#Windows_compiling">Compiling from source</a>
<li> </li></ul>
<a href="#Windows_compiling">Compiling from source</a>
</li>
</ul>
<h3> <h3>
<a name="Windows_binaries" id="Windows_binaries">Binaries</a> <a name="Windows_binaries" id="Windows_binaries">Binaries</a>
</h3> </h3>
<p> <p>
Binaries will be available from Binaries will be available from
<a href="ftp://libvirt.org/libvirt/win32">the download area</a> <a href="ftp://libvirt.org/libvirt/win32">the download area</a>
(but we don't have binaries at the moment). (but we don't have binaries at the moment).
</p> </p>
<h3> <h3>
<a name="Windows_compiling" id="Windows_compiling">Compiling from source</a> <a name="Windows_compiling" id="Windows_compiling">Compiling from source</a>
</h3> </h3>
<p> <p>
These are the steps to compile libvirt and the other These are the steps to compile libvirt and the other
tools from source on Windows. tools from source on Windows.
@@ -164,72 +136,55 @@ tools from source on Windows.
<p> <p>
You will need: You will need:
</p> </p>
<ol> <ol><li> MS Windows. Microsoft makes free (as beer) versions
<li> MS Windows. Microsoft makes free (as beer) versions
of some of its operating systems available to of some of its operating systems available to
<a href="http://msdn.microsoft.com/">MSDN subscribers</a>. <a href="http://msdn.microsoft.com/">MSDN subscribers</a>.
We used Windows 2008 Server for testing, virtualized under We used Windows 2008 Server for testing, virtualized under
Linux using KVM-53 (earlier versions of KVM and QEMU won't Linux using KVM-53 (earlier versions of KVM and QEMU won't
run recent versions of Windows because of lack of full ACPI run recent versions of Windows because of lack of full ACPI
support, so make sure you have the latest KVM). support, so make sure you have the latest KVM).
</li> </li><li><a href="http://www.cygwin.com/">Cygwin</a>'s
<li><a href="http://www.cygwin.com/">Cygwin</a>'s
<a href="http://www.cygwin.com/setup.exe">setup.exe</a>. <a href="http://www.cygwin.com/setup.exe">setup.exe</a>.
</li> </li><li> A large amount of free disk space to install Cygwin.
<li> A large amount of free disk space to install Cygwin.
Make sure you have 10 GB free to install most Cygwin packages, Make sure you have 10 GB free to install most Cygwin packages,
although if you pare down the list of dependencies you may although if you pare down the list of dependencies you may
get away with much less. </li> get away with much less. </li><li> A network connection for Windows, since Cygwin downloads packages
<li> A network connection for Windows, since Cygwin downloads packages from the net as it installs. </li><li>
from the net as it installs. </li> <a href="http://www.libvirt.org/downloads.html">Libvirt
<li>
<a href="http://www.libvirt.org/downloads.html">Libvirt
latest version from CVS</a> latest version from CVS</a>
</li> </li><li> The latest source patch from
<li> The latest source patch from <a href="ftp://libvirt.org/libvirt/win32">the download area</a>. </li><li> A version of Cygwin sunrpc, patched to support building
<a href="ftp://libvirt.org/libvirt/win32">the download area</a>. </li>
<li> A version of Cygwin sunrpc, patched to support building
<code>librpc.dll</code>. <code>librpc.dll</code>.
A patch and a binary package are available from A patch and a binary package are available from
<a href="ftp://libvirt.org/libvirt/win32">the download area</a>. </li> <a href="ftp://libvirt.org/libvirt/win32">the download area</a>. </li></ol>
</ol>
<p> <p>
These are the steps to take to compile libvirt from These are the steps to take to compile libvirt from
source on Windows: source on Windows:
</p> </p>
<ol> <ol><li>
<li> <p>Run Cygwin
<p>Run Cygwin
<a href="http://www.cygwin.com/setup.exe">setup.exe</a>. <a href="http://www.cygwin.com/setup.exe">setup.exe</a>.
When it starts up it will show a dialog like this: When it starts up it will show a dialog like this:
</p> </p>
<img src="windows-cygwin-1.png" width="504" height="388" alt="Cygwin Net Release Setup Program" /> <img src="windows-cygwin-1.png" width="504" height="388" alt="Cygwin Net Release Setup Program" /></li><li>
</li> <p>Step through the setup program accepting defaults
<li>
<p>Step through the setup program accepting defaults
or making choices as appropriate, until you get to the or making choices as appropriate, until you get to the
screen for selecting packages:</p> screen for selecting packages:</p>
<img src="windows-cygwin-2.png" width="505" height="388" alt="Cygwin Select Packages screen" /> <img src="windows-cygwin-2.png" width="505" height="388" alt="Cygwin Select Packages screen" /><p>
<p>
The user interface here is very confusing. You have to The user interface here is very confusing. You have to
click the "recycling icon" as shown by the arrow: click the "recycling icon" as shown by the arrow:
</p> </p>
<img src="windows-cygwin-3.png" width="298" height="200" alt="Cygwin Recycling Icon" /> <img src="windows-cygwin-3.png" width="298" height="200" alt="Cygwin Recycling Icon" /><p>
<p>
which takes the package (and all packages in the subtree) which takes the package (and all packages in the subtree)
through several states such as "Install", "Reinstall", "Keep", through several states such as "Install", "Reinstall", "Keep",
"Skip", "Uninstall", etc. "Skip", "Uninstall", etc.
</p> </p>
</li> </li><li>
<li> <p>You can install "All" (everything) or better select
<p>You can install "All" (everything) or better select
just the groups and packages needed. Select the following just the groups and packages needed. Select the following
groups and packages for installation: groups and packages for installation:
</p> </p>
<table> <table><tr><th valign="top" align="right"> Groups </th><td>
<tr>
<th valign="top" align="right"> Groups </th>
<td>
Archive <br /> Archive <br />
Base <br /> Base <br />
Devel <br /> Devel <br />
@@ -237,34 +192,25 @@ source on Windows:
Mingw <br /> Mingw <br />
Perl <br /> Perl <br />
Python <br /> Python <br />
Shells <br /></td> Shells <br /></td></tr><tr><th valign="top" align="right"> Packages </th><td>
</tr>
<tr>
<th valign="top" align="right"> Packages </th>
<td>
openssh <br /> openssh <br />
sunrpc &#8805; 4.0-4 (see below) <br /></td> sunrpc &#8805; 4.0-4 (see below) <br /></td></tr></table></li><li>
</tr> <p> Once Cygwin has finished installing, start a Cygwin bash shell
</table>
</li>
<li>
<p> Once Cygwin has finished installing, start a Cygwin bash shell
(either click on the desktop icon or look for Cygwin bash shell (either click on the desktop icon or look for Cygwin bash shell
in the Start menu). </p> in the Start menu). </p>
<p> The very first time you start the Cygwin bash shell, you may <p> The very first time you start the Cygwin bash shell, you may
find you need to run the <code>mkpasswd</code> and <code>mkgroup</code> find you need to run the <code>mkpasswd</code> and <code>mkgroup</code>
commands in order to create <code>/etc/passwd</code> and commands in order to create <code>/etc/passwd</code> and
<code>/etc/group</code> files from Windows users. If this <code>/etc/group</code> files from Windows users. If this
is needed then a message is printed in the shell. is needed then a message is printed in the shell.
Note that you need to do this as Windows Administrator. </p> Note that you need to do this as Windows Administrator. </p>
</li> </li><li>
<li> <p> Install Cygwin sunrpc &#8805; 4.0-4 package, patched to include
<p> Install Cygwin sunrpc &#8805; 4.0-4 package, patched to include
<code>librpc.dll</code>. <code>librpc.dll</code>.
To do this, first check to see whether <code>/usr/lib/librpc.dll</code> To do this, first check to see whether <code>/usr/lib/librpc.dll</code>
exists. If it does, you're good to go and can skip to the next exists. If it does, you're good to go and can skip to the next
step. </p> step. </p>
<p> <p>
If you don't have this file, either install the binary package If you don't have this file, either install the binary package
<a href="ftp://libvirt.org/libvirt/win32/sunrpc-4.0-4.tar.bz2">sunrpc-4.0-4.tar.bz2</a> (just unpack it, as Administrator, in the Cygwin root directory). <a href="ftp://libvirt.org/libvirt/win32/sunrpc-4.0-4.tar.bz2">sunrpc-4.0-4.tar.bz2</a> (just unpack it, as Administrator, in the Cygwin root directory).
Or you can download the Or you can download the
@@ -272,71 +218,64 @@ source on Windows:
and apply it by hand to the Cygwin sunrpc package (eg. using and apply it by hand to the Cygwin sunrpc package (eg. using
cygport). cygport).
</p> </p>
</li> </li><li>
<li> <p>
<p>
Check out Check out
<a href="http://www.libvirt.org/downloads.html">Libvirt from CVS</a> and <a href="http://www.libvirt.org/downloads.html">Libvirt from CVS</a> and
<a href="ftp://libvirt.org/libvirt/win32">apply the latest Windows patch</a> <a href="ftp://libvirt.org/libvirt/win32">apply the latest Windows patch</a>
to the source. to the source.
</p> </p>
</li> </li><li>
<li> <p> Configure libvirt by doing: </p>
<p> Configure libvirt by doing: </p> <pre>
<pre>
autoreconf autoreconf
./configure --without-xen --without-qemu ./configure --without-xen --without-qemu
</pre> </pre>
<p> (The autoreconf step is probably optional). </p> <p> (The autoreconf step is probably optional). </p>
<p> The configure step will tell you if you have all the <p> The configure step will tell you if you have all the
required parts installed. If something is missing you required parts installed. If something is missing you
will need to go back through Cygwin setup and install it. will need to go back through Cygwin setup and install it.
</p> </p>
</li> </li><li>
<li> <p> Rebuild the XDR structures: </p>
<p> Rebuild the XDR structures: </p> <pre>
<pre>
rm qemud/remote_protocol.[ch] qemud/remote_dispatch_*.h rm qemud/remote_protocol.[ch] qemud/remote_dispatch_*.h
make -C qemud remote_protocol.c make -C qemud remote_protocol.c
</pre> </pre>
</li> </li><li>
<li> <p> Build: </p>
<p> Build: </p> <pre>
<pre>
make make
</pre> </pre>
<p> If this step is not successful, you should post a full <p> If this step is not successful, you should post a full
report <i>including complete messages</i> to report <i>including complete messages</i> to
<a href="http://www.redhat.com/mailman/listinfo/libvir-list">the <a href="http://www.redhat.com/mailman/listinfo/libvir-list">the
libvirt mailing list</a>. libvirt mailing list</a>.
</p> </p>
</li> </li><li>
<li> <p> Test it. If you have access to a remote machine
<p> Test it. If you have access to a remote machine
running Xen or QEMU/KVM, and the libvirt daemon (<code>libvirtd</code>) running Xen or QEMU/KVM, and the libvirt daemon (<code>libvirtd</code>)
then you should be able to connect to it and display then you should be able to connect to it and display
domains using, eg: domains using, eg:
</p> </p>
<pre> <pre>
src/virsh.exe <a href="http://libvirt.org/uri.html">-c qemu://remote/system</a> list --all src/virsh.exe <a href="http://libvirt.org/uri.html">-c qemu://remote/system</a> list --all
</pre> </pre>
<p> <p>
Please read more about <a href="http://libvirt.org/remote.html">remote Please read more about <a href="http://libvirt.org/remote.html">remote
support</a> before sending bug reports, to make sure that support</a> before sending bug reports, to make sure that
any problems are really Windows and not just with remote any problems are really Windows and not just with remote
configuration / security. configuration / security.
</p> </p>
</li> </li><li>
<li> <p>
<p>
You may want to install the library and programs by doing: You may want to install the library and programs by doing:
</p> </p>
<pre> <pre>
make install make install
</pre> </pre>
</li> </li><li>
<li> <p>
<p>
The above steps should also build and install Python modules. The above steps should also build and install Python modules.
However for reasons which I don't fully understand, Python won't However for reasons which I don't fully understand, Python won't
look in the look in the
@@ -344,14 +283,14 @@ make install
directory by default so you may need to set the environment directory by default so you may need to set the environment
variable PYTHONPATH: variable PYTHONPATH:
</p> </p>
<pre> <pre>
export PYTHONPATH=/usr/local/lib/python2.5/site-packages export PYTHONPATH=/usr/local/lib/python2.5/site-packages
</pre> </pre>
<p> <p>
(Change the version number to your version of Python). You (Change the version number to your version of Python). You
can test Python support from the command line: can test Python support from the command line:
</p> </p>
<pre> <pre>
python python
&gt;&gt;&gt; import libvirt &gt;&gt;&gt; import libvirt
&gt;&gt;&gt; conn = libvirt.open ("test:///default") &gt;&gt;&gt; conn = libvirt.open ("test:///default")
@@ -361,13 +300,12 @@ python
&gt;&gt;&gt; dom.XMLDesc (0) &gt;&gt;&gt; dom.XMLDesc (0)
"&lt;domain type='test' id='1'&gt; ..." "&lt;domain type='test' id='1'&gt; ..."
</pre> </pre>
<p> <p>
The most common failure will be with <code>import libvirt</code> The most common failure will be with <code>import libvirt</code>
which usually indicates that either <code>PYTHONPATH</code> is which usually indicates that either <code>PYTHONPATH</code> is
wrong or a DLL cannot be loaded. wrong or a DLL cannot be loaded.
</p> </p>
</li> </li></ol>
</ol>
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">

View File

@@ -339,7 +339,9 @@ xenUnifiedOpen (virConnectPtr conn, xmlURIPtr uri, virConnectAuthPtr auth, int f
fail: fail:
ret = VIR_DRV_OPEN_ERROR; ret = VIR_DRV_OPEN_ERROR;
#ifndef WITH_PROXY
clean: clean:
#endif
DEBUG0("Failed to activate a mandatory sub-driver"); DEBUG0("Failed to activate a mandatory sub-driver");
for (i = 0 ; i < XEN_UNIFIED_NR_DRIVERS ; i++) for (i = 0 ; i < XEN_UNIFIED_NR_DRIVERS ; i++)
if (priv->opened[i]) drivers[i]->close(conn); if (priv->opened[i]) drivers[i]->close(conn);