mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 13:20:20 +00:00
29bc4fe646
This patch brings support to manage sheepdog pools and volumes to libvirt. It uses the "collie" command-line utility that comes with sheepdog for that. A sheepdog pool in libvirt maps to a sheepdog cluster. It needs a host and port to connect to, which in most cases is just going to be the default of localhost on port 7000. A sheepdog volume in libvirt maps to a sheepdog vdi. To create one specify the pool, a name and the capacity. Volumes can also be resized later. In the volume XML the vdi name has to be put into the <target><path>. To use the volume as a disk source for virtual machines specify the vdi name as "name" attribute of the <source>. The host and port information from the pool are specified inside the host tag. <disk type='network'> ... <source protocol="sheepdog" name="vdi_name"> <host name="localhost" port="7000"/> </source> </disk> To work right this patch parses the output of collie, so it relies on the raw output option. There recently was a bug which caused size information to be reported wrong. This is fixed upstream already and will be in the next release. Signed-off-by: Sebastian Wiedenroth <wiedi@frubar.net>
50 lines
2.4 KiB
HTML
50 lines
2.4 KiB
HTML
<html>
|
|
<body>
|
|
<h1>Internal drivers</h1>
|
|
|
|
<ul id="toc"></ul>
|
|
|
|
<p>
|
|
The libvirt public API delegates its implementation to one or
|
|
more internal drivers, depending on the <a href="uri.html">connection URI</a>
|
|
passed when initializing the library. There is always a hypervisor driver
|
|
active, and if the libvirt daemon is available there will usually be a
|
|
network and storage driver active.
|
|
</p>
|
|
|
|
<h2><a name="hypervisor">Hypervisor drivers</a></h2>
|
|
|
|
<p>
|
|
The hypervisor drivers currently supported by libvirt are:
|
|
</p>
|
|
|
|
<ul>
|
|
<li><strong><a href="drvlxc.html">LXC</a></strong> - Linux Containers</li>
|
|
<li><strong><a href="drvopenvz.html">OpenVZ</a></strong></li>
|
|
<li><strong><a href="drvqemu.html">QEMU</a></strong></li>
|
|
<li><strong><a href="drvtest.html">Test</a></strong> - Used for testing</li>
|
|
<li><strong><a href="drvuml.html">UML</a></strong> - User Mode Linux</li>
|
|
<li><strong><a href="drvvbox.html">VirtualBox</a></strong></li>
|
|
<li><strong><a href="drvesx.html">VMware ESX</a></strong></li>
|
|
<li><strong><a href="drvvmware.html">VMware Workstation/Player</a></strong></li>
|
|
<li><strong><a href="drvxen.html">Xen</a></strong></li>
|
|
<li><strong><a href="drvhyperv.html">Microsoft Hyper-V</a></strong></li>
|
|
</ul>
|
|
|
|
<h2><a name="stroage">Storage drivers</a></h2>
|
|
|
|
<ul>
|
|
<li><strong><a href="storage.html#StorageBackendDir">Directory backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendFS">Local filesystem backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendNetFS">Network filesystem backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendLogical">Logical Volume Manager (LVM) backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendDisk">Disk backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendISCSI">iSCSI backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendSCSI">SCSI backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendMultipath">Multipath backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendRBD">RBD (RADOS Block Device) backend</a></strong></li>
|
|
<li><strong><a href="storage.html#StorageBackendSheepdog">Sheepdog backend</a></strong></li>
|
|
</ul>
|
|
</body>
|
|
</html>
|