Document the CTL device type in formatdomain.rst and
the virtio-scsi device in drvbhyve.rst.

Signed-off-by: Roman Bogorodskiy <[email protected]>
---
 docs/drvbhyve.rst     | 19 +++++++++++++++++++
 docs/formatdomain.rst |  5 +++++
 2 files changed, 24 insertions(+)

diff --git a/docs/drvbhyve.rst b/docs/drvbhyve.rst
index dfcdb011d2..5a45e9056f 100644
--- a/docs/drvbhyve.rst
+++ b/docs/drvbhyve.rst
@@ -718,6 +718,25 @@ any configuration on the host.
    Unfortunately, there is no (easy) way to probe its support in libvirt,
    so please consult the ``bhyve(8)`` manual page to make sure it is available.
 
+virtio-scsi
+~~~~~~~~~~~
+:since:`Since 12:0.0`, it is possible to use ``virtio-scsi`` devices.
+It uses CAM Target layer (CTL) as a source.
+
+Example:
+
+::
+
+  ...
+    <disk type='ctl'>
+      <source dev='/dev/cam/ctl'/>
+      <target dev='sda' bus='scsi'/>
+    </disk>
+  ...
+
+Please refer to ``cam(4)``, ``ctl(4)``, and ``ctld(8)`` manual pages
+for more details on CAM and CTL.
+
 Guest-specific considerations
 -----------------------------
 
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 1467fc7e10..bcb354a9d6 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -3085,6 +3085,11 @@ paravirtualized driver is specified via the ``disk`` 
element.
       the fully-qualified path to the vhost-vdpa character device (e.g.
       ``/dev/vhost-vdpa-0``).
 
+   ``ctl``
+      Enables the hypervisor to connect to the FreeBSD CAM Target Layer (CTL),
+      where CAM is a Common Access Method Storage subsystem.
+      :since:`Since 12.0.0, bhyve`.
+
    With "file", "block", and "volume", one or more optional sub-elements
    ``seclabel`` (See `Security label`_) can be used to override the domain
    security labeling policy for just that source file.
-- 
2.52.0

Reply via email to