From nobody Tue Jan 07 02:19:38 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRvrW1nXHz5kd2Y; Tue, 07 Jan 2025 02:19:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRvrV5PZSz4Lxw; Tue, 7 Jan 2025 02:19:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736216378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yc+19Hr9SEk9Rfc8xNpE5l/MG4+vZHfIqnPzs/nsUDg=; b=SNw1uarS0k3rQkPeM4k/8+R4QJKpg7BY99gPaeO6nP9zYOZDIBrryThBVzz7bpTK63CqrJ JtkWA6FY4eaevD/H9IBpgL1/vRRycuWNjlZg5kANpmVP6ZJffGwyJxCmyREy0R8Bv9Bd66 gxeQ7It0AFbnn88+AH98u+rgSO3nCWkSGZdZA4OMGXRxa7PRchS/ImMXcj1ZoIZUA/cZTW 3DHguXTsbcj0uy8vG1sFClcKAWdV66x23jLsJh0ocMAiv+5dg2ieU/lYd0qMP2IN6mMLkN F0hr/JCEyQMZ/iYrp6UFRt95URlyX1/b7i4uO/MnLO7mSmDNQe/yPwNhsm5GMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736216378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yc+19Hr9SEk9Rfc8xNpE5l/MG4+vZHfIqnPzs/nsUDg=; b=pY1pb/aOaKqwrdSgrOVpvUcxw7QIVtt+fNsknq3Q34BuwaAxVk+VqEJXi0O4v7J37odqis 99CUDu13MKUSQQu8B/7ARVRXUDdosTrwtIESm5bYxbEF+6lAbUTSTAsGOW3Llvo/jwA3bA RuIW+JjydT35wPyfvEyCM8ENw7LMW64L0IAqfhsjMkqCA50L47NhYhwSwjkGAGvftUMs9k zlfwpUmp1SDiAsC6UgEcMF6pnHxEfwj2sbHV0gnHVB0i+ge8vBevjMN2UqBjg2UFnMOYmM /6MHg1y+2MP5DbmQiIpA+uWe1uS9tF1k3ObZV+04hvd/A8AUGYqVSx7QNAYtTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736216378; a=rsa-sha256; cv=none; b=SD5yVs9v+mnl19EOjOvhbbMS3xHtYSy0OuojJXyxHcmLI0dnKO3sI7Be3wI6JoyYep6Hzc 38hcS3/ra3Pfr0hsodBiihNtAUVFwILGdHe5FlWJ7JoARqK0ltNp9jPj1Z/gwQOHvA9/Ky tCTzfSdYScN6fPfvFcQJsN4y0SGjd0SWrlt1+vmeTlAfzppJkPZBFJ17oSECg6qhpWXrgi NKQa5YWxhCcpWdOdc1YvK/q9CksorbjAwVGU5bBVxVffuWYPbz0FF92WtUzfGMRpmjX1DH lJeal8wxMxjPcNNIeB32vDcFGiqm2lcXCPmAO4C84t9vDLCQptsNGpEByIZgjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YRvrV4vqxzqnf; Tue, 07 Jan 2025 02:19:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5072JcEr029142; Tue, 7 Jan 2025 02:19:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5072JcH7029139; Tue, 7 Jan 2025 02:19:38 GMT (envelope-from git) Date: Tue, 7 Jan 2025 02:19:38 GMT Message-Id: <202501070219.5072JcH7029139@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 19cb383dc03a - main - vmm.4: Update to mention non-amd64 platforms List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19cb383dc03a80e1651d80e0f0e3d4e9cbd20e04 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=19cb383dc03a80e1651d80e0f0e3d4e9cbd20e04 commit 19cb383dc03a80e1651d80e0f0e3d4e9cbd20e04 Author: Mark Johnston AuthorDate: 2025-01-07 02:15:36 +0000 Commit: Mark Johnston 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