Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115821667
D46811.id143789.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46811.id143789.diff
View Options
diff --git a/share/man/man4/vmm.4 b/share/man/man4/vmm.4
--- a/share/man/man4/vmm.4
+++ b/share/man/man4/vmm.4
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 6, 2024
+.Dd September 27, 2024
.Dt VMM 4
.Os
.Sh NAME
@@ -108,11 +108,30 @@
.Bd -literal -offset indent
pptdevs="10/0/0 6/5/0 6/5/1"
.Ed
+.Pp
+It is possible to detach a PCI device from the hypervisor, without rebooting
+the host machine, and attach it to a host driver, using the
+.Xr devctl 8
+utility.
+Suppose
+.Va pci0:0:1:0
+is currently used by the hypervisor, and we want to attach it to the host's
+.Xr xhci 4
+driver:
+.Bd -literal -offset indent
+# devctl set driver -f pci0:0:1:0 xhci
+.Ed
+.Pp
+The same can be applied to attach it back to the hypervisor:
+.Bd -literal -offset indent
+# devctl set driver -f pci0:0:1:0 ppt
+.Ed
.Sh SEE ALSO
.Xr bhyve 4 ,
.Xr loader.conf 5 ,
.Xr bhyve 8 ,
.Xr bhyveload 8 ,
+.Xr devctl 8 ,
.Xr kldload 8
.Sh HISTORY
.Nm vmm.ko
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 3:48 AM (12 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17851031
Default Alt Text
D46811.id143789.diff (1 KB)
Attached To
Mode
D46811: vmm.4: Add ppt device detach example
Attached
Detach File
Event Timeline
Log In to Comment