docs: bhyve: document recent changes

- 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
This commit is contained in:
Roman Bogorodskiy 2014-07-24 19:52:11 +04:00
parent cfb16b8ed7
commit 221b1828f9

View File

@ -42,9 +42,10 @@ in this sample domain XML.
</p> </p>
<p> <p>
A limitation that is not obvious from this sample domain XML is that currently only a Note: in older libvirt versions, only a single network device and a single
single network and a single disk device are supported for each domain (as PCI slot allocation code disk device were supported per-domain. However,
in libvirt bhyve driver is yet to be implemented). <span class="since">since 1.2.6</span> the libvirt bhyve driver supports
up to 31 PCI devices.
</p> </p>
<pre> <pre>
@ -71,6 +72,11 @@ in libvirt bhyve driver is yet to be implemented).
&lt;source file='/path/to/bhyve_freebsd.img'/&gt; &lt;source file='/path/to/bhyve_freebsd.img'/&gt;
&lt;target dev='hda' bus='sata'/&gt; &lt;target dev='hda' bus='sata'/&gt;
&lt;/disk&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;interface type='bridge'&gt;
&lt;model type='virtio'/&gt; &lt;model type='virtio'/&gt;
&lt;source bridge="virbr0"/&gt; &lt;source bridge="virbr0"/&gt;