From nobody Thu Mar 12 15:09:19 2026 X-Original-To: virtualization@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 4fWrcb0LP9z6VTyt for ; Thu, 12 Mar 2026 15:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fWrcZ6t0yz4D0Y for ; Thu, 12 Mar 2026 15:09:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773328159; 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=EMisudM/FiGfpm53/+7amO9LSejecA8ZM2sfaik64Ac=; b=nOi3EjZOuVgxMv7fnyqWX0BL3A2ZAScID5oXYpxBf3OQaENcXB2yt/dJvdqj+F2plpSFm5 zlasZdwS/jsAnJYSTmSXRkbAJtpgbpsZWe1u85CPE5f7byhoIocXc+W+l326m4UDHIZa+b FoV2iY1Y3+PPtK7VhRe2Gwh34Y9QOI60QTz3RqvqXUKrvC3V26KMXYu6MhWd47X0E4+FY6 ST8L56WcqGlMt3HwQTGEqM5n5qdtmflpGzQJiN1aiGDoEAXuKOC4JAQE5PGhhrk/ao0JZg T7KIZg93ii78YOe8Ymv/4NtM8DAssQx9aOlkVlYPNPyvkprJ5r6xwILN7OrKJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773328159; a=rsa-sha256; cv=none; b=YaAY3L+6/89ndbYSxFMRIL9ebxYp6WlhAwV9akH5wpkvSY6MOylq3SwaV5WV1hn6lUh+Lf TRHIG5SVdy/ze6LvlXjd4B8CzLBg7lqU/IosFblCWZb0QaQMBTd7hRn+lFLmm0fpVlOdZT gudfXUmM2hoSlSZms6ZrWolRREQjZtyZFh8m5QWyg9phjC87N38PQEQyT8Lwqafq7Zf8XB UyoLAQuQifRlPdqJ28nMObkgqwKCr6VSrLG36o/rUY5vLF6Glr2iT2A8XxM7wHWO6Bq7bc +6wnQv/r3zB4HH9Eei1ZMUj6ydFi8KxgNbpaWY7RQFkQ4/L9AJUsZGBjdUm/iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773328159; 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=EMisudM/FiGfpm53/+7amO9LSejecA8ZM2sfaik64Ac=; b=r3CpMVe6BhW19QjkN23KhmlrFPkZcGHUzSIgNowDwNmDPmcnEzeAEOQYOlrnZVrv9VtoPG ldV0vybkv3wTIIaN6lTNPjJMFB2uOtdGIIayyyhvHeJaotprZqcEH2K6+73lzsbmaZFp6f XHPxPTvA84qUcnKXpNf4gOg5pp+4uX+ou/h22ci9CEcXOuC6EL2F9uO/1ye8udIobS/MQ9 zamKuyn6CALuKCjZAYwUdBK3npb0QdLmfafkiKVfVaf8bR2CPmfZXh/nlRsORyTNkQQF39 7znNFq3Koq/5I00rdjJ/evPaLEgbvoYF1LuAZLBvoK1KhqQ0QuuOkGZ4j6lyhw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4fWrcZ6JGBzr6J for ; Thu, 12 Mar 2026 15:09:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 62CF9Igi007947 for ; Thu, 12 Mar 2026 15:09:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62CF9I4f007946 for virtualization@FreeBSD.org; Thu, 12 Mar 2026 15:09:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 293761] bhyve: map _any_ existing userspace memory region as guest physical memory Date: Thu, 12 Mar 2026 15:09:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293761 Bug ID: 293761 Summary: bhyve: map _any_ existing userspace memory region as guest physical memory Product: Base System Version: Unspecified Hardware: Any URL: https://github.com/LekKit/RVVM/issues/168#issuecomment -4047413881 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: fuz@FreeBSD.org The developer of the RVVM emulator wishes to make use of the VMM / bhyve functionality to accelerate the emulator and has asked for the following ch= ange to be made: https://github.com/LekKit/RVVM/issues/168#issuecomment-4047413881 > One thing I want to ask - If you know / can communicate with FreeBSD VMM = (bhyve) > developers (I have not investigated where to contact), please ask for ker= nel-side > vmm functionality to map any existing userspace memory region as guest ph= ysical > memory. > I am working on RVVM hypervisor support (Both for native x86_64/arm64/ris= cv64 > virtualization and accelerating riscv64 MMU emulation), and the current F= reeBSD > VMM kernel interface is a significant limitation for me. I would prefer t= o have a > generic interface in a form of vmm_map_phys(vmm, gpa, hva, size) and have= it work > on things like XShm shared memory or file-backed mmap region, etc, which = both KVM > and WHPX can provide. --=20 You are receiving this mail because: You are the assignee for the bug.=