]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
bhyve: add basic documentation
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 1 Mar 2014 09:04:56 +0000 (13:04 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 1 Mar 2014 19:44:58 +0000 (23:44 +0400)
docs/drivers.html.in
docs/drvbhyve.html.in [new file with mode: 0644]
docs/index.html.in
docs/sitemap.html.in
src/README

index 7aa44f3b8e29cbb0af942ac62b264f280eccb1c0..a1d42407ee48b033fc15ca7fe0bdfc28a2aa2a47 100644 (file)
@@ -33,6 +33,7 @@
       <li><strong><a href="drvhyperv.html">Microsoft Hyper-V</a></strong></li>
       <li><strong><a href="drvphyp.html">IBM PowerVM (phyp)</a></strong></li>
       <li><strong><a href="drvparallels.html">Parallels</a></strong></li>
+      <li><strong><a href="drvbhyve.html">Bhyve</a></strong> - The BSD Hypervisor</li>
     </ul>
 
     <h2><a name="storage">Storage drivers</a></h2>
diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in
new file mode 100644 (file)
index 0000000..60eee85
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <body>
+    <h1>Bhyve driver</h1>
+
+    <ul id="toc"></ul>
+
+<p>
+Bhyve is a FreeBSD hypervisor. It first appeared in FreeBSD 10.0. However, it's
+recommended to keep tracking FreeBSD 10-STABLE to make sure all new features
+of bhyve are supported.
+
+In order to enable bhyve on your FreeBSD host, you'll need to load the <code>vmm</code>
+kernel module. Additionally, <code>if_tap</code> and <code>if_bridge</code> modules
+should be loaded for networking support.
+</p>
+
+<p>
+Additional information on bhyve could be obtained on <a href="http://bhyve.org/">bhyve.org</a>.
+</p>
+
+<h2><a name="uri">Connections to the Bhyve driver</a></h2>
+<p>
+The libvirt bhyve driver is a single-instance privileged driver. Some sample
+connection URIs are:
+</p>
+
+<pre>
+bhyve:///system                     (local access)
+bhyve+unix:///system                (local access)
+bhyve+ssh://root@example.com/system (remote access, SSH tunnelled)
+</pre>
+
+<h2><a name="exconfig">Example guest domain XML configurations</a></h2>
+
+<h3>Example config</h3>
+<p>
+The bhyve driver in libvirt is in its early stage and under active development. So it supports
+only limited number of features bhyve provides. All the supported features could be found
+in this sample domain XML.
+</p>
+
+<p>
+A limitation that is not obvious from this sample domain XML is that currently only a
+single network and a single disk device are supported for each domain (as PCI slot allocation code
+in libvirt bhyve driver is yet to be implemented).
+</p>
+
+<pre>
+&lt;domain type='bhyve'&gt;
+  &lt;name&gt;bhyve&lt;/name&gt;
+  &lt;uuid&gt;df3be7e7-a104-11e3-aeb0-50e5492bd3dc&lt;/uuid&gt;
+    &lt;memory&gt;219136&lt;/memory&gt;
+    &lt;currentMemory&gt;219136&lt;/currentMemory&gt;
+    &lt;vcpu&gt;1&lt;/vcpu&gt;
+    &lt;os&gt;
+       &lt;type&gt;hvm&lt;/type&gt;
+    &lt;/os&gt;
+    &lt;features&gt;
+      &lt;apic/&gt;
+      &lt;acpi/&gt;
+    &lt;/features&gt;
+    &lt;clock offset='utc'/&gt;
+    &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;
+    &lt;on_reboot&gt;restart&lt;/on_reboot&gt;
+    &lt;on_crash&gt;destroy&lt;/on_crash&gt;
+    &lt;devices&gt;
+      &lt;disk type='file'&gt;
+        &lt;driver name='file' type='raw'/&gt;
+        &lt;source file='/path/to/bhyve_freebsd.img'/&gt;
+        &lt;target dev='hda' bus='sata'/&gt;
+      &lt;/disk&gt;
+      &lt;interface type='bridge'&gt;
+        &lt;model type='virtio'/&gt;
+        &lt;source bridge="virbr0"/&gt;
+      &lt;/interface&gt;
+    &lt;/devices&gt;
+&lt;/domain&gt;
+</pre>
+
+  </body>
+</html>
index 16bd6d5af687c003deef8a9b609ef69354c07a7e..c94f4444b06e9991bff83851f36076901769b4c7 100644 (file)
@@ -74,6 +74,9 @@
       <li>
         The <a href="http://libvirt.org/drvparallels.html">Parallels</a> hypervisor
       </li>
+      <li>
+        The <a href="http://libvirt.org/drvbhyve.html">Bhyve</a> hypervisor
+      </li>
       <li>
         Virtual networks using bridging, NAT, VEPA and VN-LINK.
       </li>
index 7d0610b4bb96050e6fb56ae1710e27b98f5792ed..78e84e310c5d1a233b1fdc98eed16bede8d41369 100644 (file)
                 <a href="drvparallels.html">Parallels</a>
                 <span>Driver for Parallels Cloud Server</span>
               </li>
+              <li>
+                <a href="drvbhyve.html">Bhyve</a>
+                <span>Driver for bhyve</span>
+              </li>
             </ul>
           </li>
           <li>
index 00d11d19a26a5201ecd9ffe5ef5472da6cf9c5fe..bb3cddfc6e962a2fb32c289c6ef98ab7df927df2 100644 (file)
@@ -25,6 +25,7 @@ There are two core shared modules to be aware of:
 
 Then there are the hypervisor implementations:
 
+ * bhyve         - bhyve - The BSD Hypervisor
  * esx/          - VMware ESX and GSX support using vSphere API over SOAP
  * hyperv/       - Microsoft Hyper-V support using WinRM
  * lxc/          - Linux Native Containers