Date: Tue, 7 Jan 2025 02:19:38 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 19cb383dc03a - main - vmm.4: Update to mention non-amd64 platforms Message-ID: <202501070219.5072JcH7029139@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=19cb383dc03a80e1651d80e0f0e3d4e9cbd20e04 commit 19cb383dc03a80e1651d80e0f0e3d4e9cbd20e04 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-01-07 02:15:36 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-01-07 02:15:36 +0000 vmm.4: Update to mention non-amd64 platforms Most of the text here relates to PCI passthrough, which is still amd64-only, but we should still document supported platforms. While here, remove the comment that vmm.ko has to be loaded at boot-time for passthrough, as devctl makes it possible to detach host drivers on the fly. I'm not aware of any other reason to require vmm.ko to be loaded at boot. Reviewed by: br, andrew Differential Revision: https://reviews.freebsd.org/D48263 --- share/man/man4/vmm.4 | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/share/man/man4/vmm.4 b/share/man/man4/vmm.4 index 7e4c9050021a..07c40541f404 100644 --- 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 September 27, 2024 +.Dd December 30, 2024 .Dt VMM 4 .Os .Sh NAME @@ -45,15 +45,22 @@ kldload vmm provides the kernel portion of the .Xr bhyve 4 hypervisor. -.Pp -An Intel CPU with VT-x/EPT or AMD CPU with SVM support is required. +The following platforms are supported: +.Bl -bullet -compat +.It +amd64: An Intel CPU with VT-x/EPT or AMD CPU with SVM support is required. +.It +arm64: The boot CPU must start in EL2 and the system must have a GICv3 interrupt +controller. +VHE support will be used if available. +.It +riscv: The CPUs must implement the H (hypervisor) RISC-V ISA extension. +.El .Pp PCI device passthrough to a virtual machine requires -hardware with VT-d support. +hardware with VT-d support and is available only on amd64. .Sh PCI PASSTHROUGH -When the hardware supports VT-d, and -.Nm -has been loaded at boot time, +On amd64 where the hardware supports VT-d, PCI devices can be reserved for use by the hypervisor. Entries consisting of the PCI .Ar bus Ns / Ns Ar slot Ns / Ns Ar function @@ -143,6 +150,8 @@ back: .Nm vmm.ko first appeared in .Fx 10.0 . +arm64 and riscv support first appeared in +.Fx 15.0 . .Sh AUTHORS .An Neel Natu Aq neel@freebsd.org .An Peter Grehan Aq grehan@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501070219.5072JcH7029139>