From 065eb39b418ec80c6db52e168a03b5e55ff1e0e9 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sat, 10 Oct 2020 08:11:08 +0400 Subject: [PATCH] docs: bhyve: document virtio-9p support Signed-off-by: Roman Bogorodskiy Reviewed-by: Michal Privoznik --- 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 ich7 being the only supported model now, and the audio element specifies how the guest device is mapped to the host sound device.

+

Virtio-9p filesystem

+ +

As of FreeBSD changeset r366413 +bhyve supports sharing arbitrary directory tree between the guest and the host. +It's supported in libvirt since 6.9.0.

+ +
+...
+  <filesystem>
+    <source dir='/shared/dir'/>
+    <target dir='shared_dir'/>
+  </filesystem>
+...
+
+ +

This share could be made read only by adding the <readonly/> sub-element.

+ +

In the Linux guest, this could be mounted using:

+ +
mount -t 9p shared_dir /mnt/shared_dir
+

Wiring guest memory

Since 4.4.0, it's possible to specify that guest memory should