Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1153BC88E75 for ; Tue, 15 Sep 2026 15:34:07 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x6VAJ-0000wU-JR; Tue, 15 Sep 2026 11:33:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x6VAB-0000vy-Te for qemu-devel@nongnu.org; Tue, 15 Sep 2026 11:33:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x6VA7-0005yT-RG for qemu-devel@nongnu.org; Tue, 15 Sep 2026 11:33:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1789486413; 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=OaMKpLd08zxQY6kk95F17rSwrnL04rOwypOvxBg5D9A=; b=ZAWUsjBREU+VtXE/eqr8dY19H33qtd9mJts83J3w8zGPXHd/tQFYWpZNhC9cimr/dlDubF 7UADO7PNpxYwLQDfmFHrdgpwP5P3l9TCuDHW0bgWPXCcH1lDIsAfmBkIiyucsZ27Zz8oCA qBzBm+Y/auSIguRHnlbvk/5z7I0MC3Q= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-192-TAIzUOFbOqK20rzDBiZCtA-1; Tue, 15 Sep 2026 11:33:30 -0400 X-MC-Unique: TAIzUOFbOqK20rzDBiZCtA-1 X-Mimecast-MFC-AGG-ID: TAIzUOFbOqK20rzDBiZCtA_1789486409 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A73B81956066; Tue, 15 Sep 2026 15:33:28 +0000 (UTC) Received: from localhost (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 19AE3195604E; Tue, 15 Sep 2026 15:33:27 +0000 (UTC) From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Thomas Huth , Stefan Hajnoczi , Tanish Desai , Aadeshveer Singh , i@uchout.moe, niko.ramak@gmail.com Subject: [qemu-web PATCH] Add GSoC 2026 wrap-up post Date: Tue, 15 Sep 2026 11:33:25 -0400 Message-ID: <20260915153326.90014-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Received-SPF: pass client-ip=170.10.133.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Google Summer of Code 2026 has completed and it's time to showcase the projects that QEMU's 4 contributors worked on this summer. Cc: Tanish Desai Cc: Aadeshveer Singh Cc: i@uchout.moe Cc: niko.ramak@gmail.com Signed-off-by: Stefan Hajnoczi --- Aadeshveer, Nicola, Tanish, and uchouT: Feel free to suggest edits! _posts/2026-09-15-gsoc-2026-wrap-up.md | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 _posts/2026-09-15-gsoc-2026-wrap-up.md diff --git a/_posts/2026-09-15-gsoc-2026-wrap-up.md b/_posts/2026-09-15-gsoc-2026-wrap-up.md new file mode 100644 index 0000000..c652251 --- /dev/null +++ b/_posts/2026-09-15-gsoc-2026-wrap-up.md @@ -0,0 +1,96 @@ +--- +layout: post +title: "QEMU Google Summer of Code 2026 project report" +date: 2026-09-15 07:00:00 +0000 +categories: [internships, gsoc] +--- +QEMU participated in [Google Summer of +Code](https://summerofcode.withgoogle.com/) 2026 with 4 contributors working on +open source internships from May through August. The contributors gained +experience in open source software development working on 12-week projects. + +This post covers the GSoC projects that QEMU had this summer. + +## Fast Snapshot Load in QEMU (Aadeshveer Singh) +When virtual machine snapshots are loaded by QEMU, the entire contents of RAM +and all device state is loaded before the virtual machine can start executing. +A lazy approach is actually possible where the contents of RAM are loaded +on-demand when accessed by the virtual machine. This can significantly speed up +snapshot load times since virtual machines may have a large amount of RAM and +loading it upfront takes time. + +Aadeshveer implemented fast snapshot load by taking advantage of QEMU's +postcopy migration infrastructure, which monitors RAM accesses using Linux +userfaultfd(2) so that memory pages can be populated on-demand. A thread is +introduced to load RAM in the background while the virtual machine is already +running so that on-demand loading is minimized (it affects virtual machine +performance). Testing showed that fast snapshot load indeed provides a major +speed up. + +Aadeshveer has written up a [project +report](https://gist.github.com/Aadeshveer/6a16579aed93f5d483bbb9419ecd2211) as +well as a [detailed +journal](https://aadeshveer.bearblog.dev/a-summer-with-qemu/) if you would like +to learn more. This project was mentored by Peter Xu. + +## Support x86 Process Context Identifiers (PCID) in COCONUT-SVSM (Tanish Desai) +Process Context Identifiers are an x86 CPU feature that improves context +switching performance. Without PCID, software has to flush the Translation +Lookaside Buffer (TLB) when context switching so that memory translations that +are no longer relevant in the new context are no longer used. PCID allows +translations from multiple address spaces (contexts) to exist in the TLB and +this can help if they are needed again in the near future. + +Tanish implemented PCID support in COCONUT-SVSM, software used by confidential +virtual machines. This involved: +1. Creating a [Rust crate for x86 CPUID feature descriptors](https://github.com/coconut-svsm/cpufeature) so that PCID functionality can be detected. +1. Adding a PCID to each address space, including writing a bitmap allocator for the available 4,096 PCIDs. + +Tanish described this in more detail +[here](https://tanish111.github.io/tanishd/blog.html). This project was +mentored by Luigi Leonardi and Jörg Rödel. + +## Observability Support for COCONUT-SVSM (Nicola Ramacciotti) +Troubleshooting confidential virtual machines can be challenging because the +host is untrusted and does not have visibility into logs, traces, etc from +inside the virtual machine. Instead, an operating system running inside the +confidential virtual machine could extract logs and the new Observability and +Configuration Protocol (OCP) has been defined for this purpose. + +Nicola implemented OCP in COCONUT-SVSM, creating the interface that software +inside the guest can use to read logs. A Linux device driver was also +implemented together with a userspace utility called svsm-tools that exposes +OCP functionality to list, read, and write data. + +Nicola published a project report that goes into detail +[here](https://github.com/n-ramacciotti/GSoC-2026-ocp-svsm). This project was +mentored by Stefano Garzarella, Gerd Hoffmann, and Joerg Roedel. + +## USB Device Redirection for qemu-rdp (uchouT) +qemu-rdp provides Remote Desktop Protocol functionality via QEMU's +org.qemu.Display1 D-Bus interface so that the display, keyboard, mouse, and +other devices can be forwarded from a client to a virtual machine. USB +redirection is a missing feature that would allow USB devices to be plugged in +on the client and attached remotely to the virtual machine. + +uchouT implemented support for QEMU's `-device usb-redir` in qemu-rdp and +integrated with the RDP protocol's URBDRC feature for tunneling USB traffic. In +the course of doing this, uchouT also contributed to the IronRDP Rust +implementation of RDP (qemu-rdp is built on top of it) and FreeRDP (an RDP +client). + +uchouT covered this project in detail +[here](https://uchout.moe/posts/gsoc-2026-final/). This project was mentored by +Marc-André Lureau. + +## Conclusion +Google Summer of Code brings together talented contributors who would like to +participate in open source with mentors from established open source projects. +Thanks to Google's funding, our contributors were able to dedicate their time +this summer to implementing these features for QEMU and its ecosystem. We hope +to continue to see Aadeshveer, Tanish, Nicola, and uchouT in the open source +community. + +If you are interested in applying to future rounds of Google Summer of Code, +keep an eye on the [GSoC website](https://summerofcode.withgoogle.com/) for +announcements and timelines. -- 2.55.0