]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: bhyve: document recent changes
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 24 Jul 2014 15:52:11 +0000 (19:52 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 30 Jul 2014 13:45:28 +0000 (17:45 +0400)
 - mention that one disk and one network limitation
   is no longer current for 1.2.6 and newer
 - add 'cdrom' device to the sample domain XML

docs/drvbhyve.html.in

index e75eb83aa00118d829a35b859c9ed08fe6c01c2e..71e3bc4a88385117472a699adf1b03b566f0dc70 100644 (file)
@@ -42,9 +42,10 @@ 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).
+Note: in older libvirt versions, only a single network device and a single
+disk device were supported per-domain. However,
+<span class="since">since 1.2.6</span> the libvirt bhyve driver supports
+up to 31 PCI devices.
 </p>
 
 <pre>
@@ -71,6 +72,11 @@ in libvirt bhyve driver is yet to be implemented).
         &lt;source file='/path/to/bhyve_freebsd.img'/&gt;
         &lt;target dev='hda' bus='sata'/&gt;
       &lt;/disk&gt;
+      &lt;disk type='file' device='cdrom'&gt;
+        &lt;driver name='file' type='raw'/&gt;
+        &lt;source file='/path/to/cdrom.iso'/&gt;
+        &lt;target dev='hdc' bus='sata'/&gt;
+      &lt;/disk&gt;
       &lt;interface type='bridge'&gt;
         &lt;model type='virtio'/&gt;
         &lt;source bridge="virbr0"/&gt;