From nobody Fri Jan 9 14:17:17 2026 X-Original-To: dev-commits-doc-all@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 4dnkPB13qnz62Yd4 for ; Fri, 09 Jan 2026 14:17:18 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dnkPB0MWXz3ZdM for ; Fri, 09 Jan 2026 14:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767968238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7ks3WvDi1BDwarJ8AsQqnVRWpl/07M7BO425yhmk/4o=; b=VU+2m7iHp+c17coIfgUHxcK13cImtJ1+ZohDZXzjiG/wCdJ/WZrM5oBx3jdVRXKI8ma4GJ PyL1Z7Y7rTFVHVZ50yJHEvGEWdaQp5KdBuKji/rsCUs493ISZ+uZWIwYrJvIwSolVx81Nd EpxO3KcxJr5Y50TUBMBJaEge4DOB8NRUAGAviVP55ZErVjgyG/x2608/Q8kupKOBtPEvmm DBrKVoBu2t+oHtUlpv3gua94smP/+UUuay7cq5vTdo8u9ZEM5XbYbSQo+CC1WdJ4ikUn3/ gW7+3u9jl8YAc3uv48fFVBlBlmLR/GzmUC+S4wiIistZietzOOQmkcX99OhWpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767968238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7ks3WvDi1BDwarJ8AsQqnVRWpl/07M7BO425yhmk/4o=; b=NzRSnqDfmjIBIQI7LI8EPLLGWm7O5+VuCY9FcZeB0O5OoGrb8I4xcRVIY70Barw7ThSFPa RQH0qPztkK8gsPQjnAqH4sP1H98F9snCs3KBgDs7hxy0QP49vOmJ4Knpe1/gWa1/UTC7yI sZbOIs5vXoR5D/AcATo6W9I5LC/OEb0BS3mOv/h2yRlktVJwX4z37sjc6a+jYM579uBZwp j+1KKDCQnvGaHCbB1ni3AGWWh4FEyYFoExkYXd+yRRn1F/8xMwVmZdR+tZ7xU+ecb2Pa7u a4pA730PTOp8ifQICksLbl26NbWDtNYHO3PX2lCIV8F4j3Up88QzTYPOAjtUQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767968238; a=rsa-sha256; cv=none; b=YgzqBT3UaeUvCrQNVUtyHPDzwcA1flOvWV/zF+M06EjCmJqtPfhirmhJ7/x6wzRY9WyPV4 fb241ukL/dQD4tVjidVPKUe8hbhxC9HHqp79ZadbSt83DP020vhl04lvaWzX//0Mm66011 WZh1aFli7XAQfXa1/7QvWXUFhE424SyELiSSl862NnRod0pyOakD3NxFRPenLVT5d/p9il hUwZkPdvoHqc+DlT/yc4MpfXZfhJ4wWLNrVrHkgZCmEWU8PYRbfWgSyOLwWHenmIHsa8Sg vuXtVPTSCkrc3T01jr9P3xjEWOp7rJUCDYzJy0/+qGHryHmJwpXC9aMcSK3VNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dnkP96zNrz1QvG for ; Fri, 09 Jan 2026 14:17:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id b6b6 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 09 Jan 2026 14:17:17 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Cc: Abhinav Chavali From: Lorenzo Salvadore Subject: git: 2ab5232a62 - main - Status/2025Q4/qemu-vmm-accelerator.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ab5232a62519b6e26bf931fe519fe0e21c20141 Auto-Submitted: auto-generated Date: Fri, 09 Jan 2026 14:17:17 +0000 Message-Id: <69610ded.b6b6.72d1704f@gitrepo.freebsd.org> The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=2ab5232a62519b6e26bf931fe519fe0e21c20141 commit 2ab5232a62519b6e26bf931fe519fe0e21c20141 Author: Abhinav Chavali AuthorDate: 2026-01-09 14:15:36 +0000 Commit: Lorenzo Salvadore CommitDate: 2026-01-09 14:15:36 +0000 Status/2025Q4/qemu-vmm-accelerator.adoc: Add report --- .../qemu-vmm-accelerator.adoc | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/website/content/en/status/report-2025-10-2025-12/qemu-vmm-accelerator.adoc b/website/content/en/status/report-2025-10-2025-12/qemu-vmm-accelerator.adoc new file mode 100644 index 0000000000..bc4e6c7f43 --- /dev/null +++ b/website/content/en/status/report-2025-10-2025-12/qemu-vmm-accelerator.adoc @@ -0,0 +1,34 @@ +=== QEMU vmm Accelerator Support + +Links: + +link:https://wiki.freebsd.org/SummerOfCode2025Projects/VMMAcceleratorSupportForQEMU[Project Link] URL: https://wiki.freebsd.org/SummerOfCode2025Projects/VMMAcceleratorSupportForQEMU[] + +link:https://github.com/dumrich/freebsd-src[Code (FreeBSD fork)] URL: link:https://github.com/dumrich/freebsd-src[] + +link:https://github.com/dumrich/qemu.git[Code (QEMU fork)] URL: https://github.com/dumrich/qemu.git[] + +Contact: Abhinav Chavali + +==== Description + +This project aims to implement a man:vmm[4] accelerator backend for QEMU. +By interfacing QEMU with FreeBSD's native hypervisor infrastructure, users can run virtual machines with near-native performance using hardware virtualization extensions (VMX/SVM), similar to how KVM functions on Linux. +This combines the extensive device emulation ecosystem of QEMU with the performance of the FreeBSD kernel hypervisor. + +==== Status + +The backend is now functional enough to boot a FreeBSD guest using a single vCPU. +The core infrastructure for interfacing QEMU with `libvmmapi` is in place. +Crucially, interrupt controllers (8259 PIC, IOAPIC, LAPIC) are now successfully utilizing the kernel's `vmm` implementations rather than userspace emulation. + +==== Open Items & Call for Help + +While the heavy lifting is complete, there are key areas where community contributions would be highly valued to get this merged upstream: + +- Guest SMP Support: Currently, the guest is limited to 1 vCPU. + We are looking for assistance in debugging the existing loop/thread handling in the backend to enable multi-CPU support. +- Device Offloading: The RTC and HPET timers are currently still emulated in userspace by QEMU. + These need to be reworked to use the `vmm` in-kernel versions for better performance and correctness. +- General Stability: As with any hypervisor backend, we need help with edge-case testing and stress testing across different guest OS types. + +I would like to thank Google for the sponsorship, and the FreeBSD Project for the mentorship and opportunity to contribute to the system. + +Sponsor: Google Summer of Code 2025