]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Leave ppt devices in the host domain when they are not attached to a VM.
authorjhb <jhb@FreeBSD.org>
Tue, 6 Sep 2016 18:53:17 +0000 (18:53 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 6 Sep 2016 18:53:17 +0000 (18:53 +0000)
commit5f56f30076ae703446ccb32a7f4d56e8e0188744
treeea3959e187dccb3822b04f045af1c88440553fd3
parentcab24be7fb395e910ca99773bc4bccd68d65b9da
Leave ppt devices in the host domain when they are not attached to a VM.

This allows a pass through device to be reset to a normal device driver
on the host and reused on the host.  ppt devices are now always active in
some I/O MMU domain when the I/O MMU is active, either the host domain
or the domain of a VM they are attached to.

Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D7666
sys/amd64/vmm/io/iommu.c
sys/amd64/vmm/io/ppt.c