[PATCH 2/3] docs: bhyve: document virtio-9p support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Roman Bogorodskiy <bogorodskiy@xxxxxxxxx>
---
 docs/drvbhyve.html.in | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in
index 49d4aa5878..228e8b2bd5 100644
--- a/docs/drvbhyve.html.in
+++ b/docs/drvbhyve.html.in
@@ -482,6 +482,27 @@ to the guest, with <code>ich7</code> being the only supported model now,
 and the <code>audio</code> element specifies how the guest device is mapped
 to the host sound device.</p>
 
+<h3><a id="fs-9p">Virtio-9p filesystem</a></h3>
+
+<p>As of <a href="https://svnweb.freebsd.org/changeset/base/366413";>FreeBSD changeset r366413</a>
+bhyve supports sharing arbitrary directory tree between the guest and the host.
+It's supported in libvirt <span class="since">since 6.9.0</span>.</p>
+
+<pre>
+...
+  &lt;filesystem&gt;
+    &lt;source dir='/shared/dir'/&gt;
+    &lt;target dir='shared_dir'/&gt;
+  &lt;/filesystem&gt;
+...
+</pre>
+
+<p>This share could be made read only by adding the <code>&lt;readonly/&gt;</code> sub-element.</p>
+
+<p>In the Linux guest, this could be mounted using:</p>
+
+<pre>mount -t 9p shared_dir /mnt/shared_dir</pre>
+
 <h3><a id="wired">Wiring guest memory</a></h3>
 
 <p><span class="since">Since 4.4.0</span>, it's possible to specify that guest memory should
-- 
2.28.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux