From nobody Thu Jan 16 21:09:52 2025 X-Original-To: freebsd-hackers@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 4YYwVj4nXmz5kwSJ for ; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYwVj44r0z41tl; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737061805; 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: in-reply-to:in-reply-to:references:references; bh=Bh5FsmL3sy/kfjVgtojoAB+w7mtVkW7lSGikVxGPP8Q=; b=EyeopLupwArXiWSU/G/o/ByRtKYyy5eRlw9TXnS7znHqvPsFHAYgymxFNXG4D+HPlU5VkD Q+HIfuvcpwI8tHzzJeR2CDL74BjQe2qDftCPp0OICtn5wFbkMtriv4I/YImfs8H1jDS0b3 jXA0Lw/oNmENmLm292F7S0GlWP2GMWhToIMo25Hh8vdhVqPZgMxwFe9NKOl43TSD4ZwCps d9HrdruuUl1cGhTclP0tYsyM7dlYzKV+gCi6oZMHVl246OJ+vpr5hPDtq7CHTJFJLojMHt XvYdrU9/CzQzn089VcVSEFDsg17+Z2VT3xUqydxJgTT9Zi2MY28u0BaN8n9TfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737061805; 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: in-reply-to:in-reply-to:references:references; bh=Bh5FsmL3sy/kfjVgtojoAB+w7mtVkW7lSGikVxGPP8Q=; b=C1Ot43Iy6i7URg5uIQ0JoekoNBFv2eVR86l9hrJm5J9yyhtXDRwjl5lt4FI126THCw0+Gi KLEMC23794ZRrOcEBorkZmgzIhr0dAoKzbLDGTfXHv+Om5NqpUK5jkLxDzCjb2RpTicHYT DzCMnqzM0jlKqtKCKLm/DtylLeyxBTJSdifR50OkgwnPON/tngpHTkS+p2fF+DhKkSkIjK TbHDcc3xsz3d39OZT7DpRCDQYUVPsjTp8lR3Zdf3mNKddiar7tKHAcsSNB0P4jRQ1kvo/o Zt0PGgZ3yauFXDNc7NdSAgk1xA0b2vprLnOONv7zFK365N9EeOo1IvZWFPv4sQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737061805; a=rsa-sha256; cv=none; b=XiAoGDCaX/1QxolnuLVPtGX7D5Uia7Nz2gacmQGVo6V7xWM2ijLd5kjGOhlFDFkZvj56iA zruN7g17fDVfTj3E/wedtRP8/ub+n8YaiLwNiSmOGQiSG3qPouNL+02ZfbNHSrtFqvJ0k/ EMSRK1xllDwNlkZEYqKP7G/YCgZ8Np91AmW8cGRIHHNRfK8XKve8Drg1tH4F2NNWiMN+17 S2Q3/aHFOX1mY8/P9VCTa7rqVW2ypnVkLQ+GRgvVDeN1Lx+dPCIuTC/JYmeC6PqF8P5Blp Uqyb8ZtLtcs/+gQHDXJLN1wXaLPcvtJVKYLrEORQY8h8jWuqipfC+mxLsnMvBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (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) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YYwVj37ZCzyQ8; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtpclient.apple (host86-142-176-175.range86-142.btcentralplus.com [86.142.176.175]) by smtp.theravensnest.org (Postfix) with ESMTPSA id E221BD9E7; Thu, 16 Jan 2025 21:10:03 +0000 (GMT) Content-Type: multipart/alternative; boundary=Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3 Content-Transfer-Encoding: 7bit From: David Chisnall List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: GSoC 2025 Project Proposal Date: Thu, 16 Jan 2025 21:09:52 +0000 Message-Id: References: Cc: Mario Marietto , Abhinav Chavali , FreeBSD Hackers In-Reply-To: To: Warner Losh X-Mailer: iPad Mail (22B91) --Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Pro= perly documenting the bhyve syscall / ioctl interfaces would be a good start= . KVM has been used by a bunch of things (Firecracker, unikernels, and so on= ) because there=E2=80=99s a documented layer for the mechanism can plug othe= r policies. There are also reimplementations of the KVM APIs that forward to= other hypervisors (so, for example, a KVM-compatible VMM can create Hyper-V= VMs when Linux is running as a guest on Windows/Hyper-V).

GSoC projects can=E2=80=99t be pure document= ation, but I=E2=80=99d love to see any bhyve-related project have a =E2=80=98= document this stuff=E2=80=99 component. And, now that Colin has made FreeBSD= boot so fast on Firecracker, a port of Firecracker to bhyve would be nice.<= /div>

Given the set of things tha= t might be nice to port, I wonder if a KVM compatibility layer would be an i= nteresting project? Then things like QEMU and Firecracker should be easy to p= ort. 

David

On 16 Jan 20= 25, at 02:10, Warner Losh <imp@bsdimp.com> wrote:

=
=EF=BB=BF
= Most of that work would be to adopt qemu to use vmm, and then fix the struct= ural issue in vmm that makes using it from qemu awkward.
Warner 

On Wed, Jan= 15, 2025, 7:06=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:
You could try to patch or rewrite bhyve so tha= t it can accelerate qemu. We need this.

On Wed, Jan 15, 2025 at 10:06=E2=80= =AFPM Abhinav Chavali <abhinavchavali12@gmail.com> wrote:
He= llo,
I am a student at the Pennsylvania State University looking to cont= ribute to FreeBSD in the summer, in some form or another. I've been a deskto= p user of FreeBSD for several years now, and would now like to learn a speci= fic subsystem and undergo a potential project for this summer.
My experience with FreeBSD development is limited to writing sim= ple kernel modules, although I have a strong understanding of C and Unix pro= gramming (and am willing to spend as much time as required before summer to f= ill in the gaps in my knowledge). I have already taken a look at the GSoC pr= ojects page, but I'm not sure how many of these are still relevant. Could an= yone suggest a project that someone with my experience level could reasonabl= y learn and complete? Also contacts to potential mentors would be very helpf= ul.

Thank you,
Abhinav Chavali


--
Mari= o.
= --Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3--