[Bug 293761] bhyve: map _any_ existing userspace memory region as guest physical memory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Mar 2026 15:09:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293761
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 change
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 kernel-side
> vmm functionality to map any existing userspace memory region as guest physical
> memory.
> I am working on RVVM hypervisor support (Both for native x86_64/arm64/riscv64
> virtualization and accelerating riscv64 MMU emulation), and the current FreeBSD
> VMM kernel interface is a significant limitation for me. I would prefer to 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.
--
You are receiving this mail because:
You are the assignee for the bug.