Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217703/?format=api
{ "id": 2217703, "url": "http://patchwork.ozlabs.org/api/patches/2217703/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330115017.256211-3-pbonzini@redhat.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260330115017.256211-3-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-03-30T11:50:06", "name": "[PULL,02/12] docs: add WHPX section with initial info", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ca82e12754a2f73d6592cf05981a6cb123b659de", "submitter": { "id": 2701, "url": "http://patchwork.ozlabs.org/api/people/2701/?format=api", "name": "Paolo Bonzini", "email": "pbonzini@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330115017.256211-3-pbonzini@redhat.com/mbox/", "series": [ { "id": 498008, "url": "http://patchwork.ozlabs.org/api/series/498008/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498008", "date": "2026-03-30T11:50:04", "name": "[PULL,01/12] meson.build: remove i386-softmmu WHPX support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498008/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217703/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217703/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Z52aiebZ;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=sZy/aREs;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fkqMw1580z1yG8\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 22:51:24 +1100 (AEDT)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w7B8d-00038A-Ao; Mon, 30 Mar 2026 07:50:35 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1w7B8Y-0002yk-D1\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 07:50:31 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1w7B8W-0005ux-B8\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 07:50:30 -0400", "from mail-wr1-f69.google.com (mail-wr1-f69.google.com\n [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-78-Fc4Ne78WO0WU85WmykTATw-1; Mon, 30 Mar 2026 07:50:26 -0400", "by mail-wr1-f69.google.com with SMTP id\n ffacd0b85a97d-43d03db814eso369756f8f.2\n for <qemu-devel@nongnu.org>; Mon, 30 Mar 2026 04:50:25 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43cf245f8a3sm19823302f8f.24.2026.03.30.04.50.20\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 04:50:20 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774871427;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=SCS3jb8S1yuHlO3cPPXyP/0uPMB67ud4t/A4TbJfwUU=;\n b=Z52aiebZaY5ehrVyZeNxdKK67RU8Z/u9jXkhz06UY5bDEbUbmywiQ1q9O7pa/+Rw+vtCHP\n A1YdHEHMnKRh+0CXSig70ur0c84iTaFRBUZsKHA3GctTXqcKJ1EIYO+BhsAZoBFxqGozgZ\n nPbSgdP4S6OAHT7iuW5gMsj5WaO9m14=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1774871424; x=1775476224; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=SCS3jb8S1yuHlO3cPPXyP/0uPMB67ud4t/A4TbJfwUU=;\n b=sZy/aREsO+72j/HNsaEXVScpL+ZQdEUDDOX2YiaDamRnZju81BuhLHpno0jdkd/xjm\n IM4lzTHvXCBvEBx0zqN0dzSyIPaEFjpc4yw7E+wfSLx9XYtvazZvx/Tx2HVwkWTiDWzI\n tRz4/pNKP9oYapbJAcx/vSXO3RnOsXD0kE7FBnpAInDBoz2sB00NN/NqfPgFmIHYA8zQ\n ooVxeNVKbzHri16hK471n1K5LCqksXVT9luHND522vJ4qMrmAX81lU8NE6vHH2ii81Hp\n VlwABlCSQtZUy1bRPzFW0GWXuyyQD+KGyLr1DcU4S/Apo1CxdouqVZxRC5Yh7f/zAsD/\n DMQA==" ], "X-MC-Unique": "Fc4Ne78WO0WU85WmykTATw-1", "X-Mimecast-MFC-AGG-ID": "Fc4Ne78WO0WU85WmykTATw_1774871425", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774871424; x=1775476224;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=SCS3jb8S1yuHlO3cPPXyP/0uPMB67ud4t/A4TbJfwUU=;\n b=X/nMX3TUA1HXdjsrnBzNOEINk0Da9BcL4lhdX4NoKcdokeK/eODScGAPDrXZEMJwSJ\n qXAH9WNQ7+Ve+6tdEGSxqp56txOtsfZG46Nyhkp6/znn/Zq+6Y2azQwUFx9Vag4iYz9/\n DTAQbkqCzfBGHo+c67PqtvbVLK+mw61ZGnWp6qwikCt2Q4yMvjkgvxhAo3oHtgBWiHqj\n UBP4VyY3X61CbKmykGB3ng5TImExOQYEZWbvzwTtxH0Q7xPKsfJJ5ppyhs2ULth+MHXD\n uWMA5Duh6nC0t+mrGRlGndJM7ZyBBTdvsvuZVv9LOrongENmHG7pcsg/2cOmLFADDYy4\n 22sg==", "X-Gm-Message-State": "AOJu0Ywx6U1utd1hyo2mxKOsF9o8o9LhKcGuMjelQ8nl605GwJCnPfzx\n Y9FdtcR5UijUQKfRJ4KV2sURo9Vaq52mlwKA4qOOkDkIlOgwPtaXmBTlrknBefcmz2kUrD8SsPQ\n jJTAO7XEFSXDAqo7ij8Ity+q/fsjmb8RIRLkCHXCOkydxgJShkCz7FUvn9lOMmcICx1Ucn84wB+\n TJT6p2+eah8CX7/DEsde1W7Gy4ha7BED8OofCTbvun", "X-Gm-Gg": "ATEYQzxOwt1zGDeH0fEDTIpnX3hjcb8aQThtcgpNnz8bbkWxJa3hBJlClyDKZyVKJJF\n 1Eerb+aAywNUG+NAIgFgtGzr3D9D1fOPktFJX33AUB52f+vqATKu6SuzyxK5KlH+3EOvcyaHalA\n uLr96LpEotuQ0Zpn1hWMzWrGpUSLS/VsfHWS/zcfb1U3hKfuCq6mI/wCHHdzYbxQyvFya3iWjhy\n lsqn3GsHLqJJfO2lpQcEPepaAn7gikSGaywWqSW4A9JG88CDli921f+hfci70xwQzUuB5RUAvv1\n Ys1Hxcg1J4AKtPUylXqF1rVSYCLjmysv/JvQMVhbZbA99BvIEZXetIx7pQufM+syTqY4IHAIqUr\n +w1GHjoKXEybdaTaGfsCLsHJTSvBMBSbGqpeF/lNcDj/WBTc2+e8rOyhDD12FG6UX3i0JK0TBvd\n ZaHFmbqKhDh+vuund7pGOY5zBe", "X-Received": [ "by 2002:a05:6000:430a:b0:43b:5022:804 with SMTP id\n ffacd0b85a97d-43b9e9ee7a9mr20493851f8f.29.1774871423763;\n Mon, 30 Mar 2026 04:50:23 -0700 (PDT)", "by 2002:a05:6000:430a:b0:43b:5022:804 with SMTP id\n ffacd0b85a97d-43b9e9ee7a9mr20493760f8f.29.1774871423105;\n Mon, 30 Mar 2026 04:50:23 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Mohamed Mediouni <mohamed@unpredictable.fr>", "Subject": "[PULL 02/12] docs: add WHPX section with initial info", "Date": "Mon, 30 Mar 2026 13:50:06 +0200", "Message-ID": "<20260330115017.256211-3-pbonzini@redhat.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260330115017.256211-1-pbonzini@redhat.com>", "References": "<20260330115017.256211-1-pbonzini@redhat.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=170.10.133.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com", "X-Spam_score_int": "-6", "X-Spam_score": "-0.7", "X-Spam_bar": "/", "X-Spam_report": "(-0.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.01,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=1, RCVD_IN_VALIDITY_RPBL_BLOCKED=1,\n 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 <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "From: Mohamed Mediouni <mohamed@unpredictable.fr>\n\nSigned-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\nLink: https://lore.kernel.org/r/20260327011152.4126-3-mohamed@unpredictable.fr\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n MAINTAINERS | 1 +\n docs/system/index.rst | 1 +\n docs/system/whpx.rst | 144 ++++++++++++++++++++++++++++++++++++++++++\n 3 files changed, 146 insertions(+)\n create mode 100644 docs/system/whpx.rst", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex cd8ba144506..eb7132e39d9 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -582,6 +582,7 @@ F: include/system/whpx.h\n F: include/system/whpx-accel-ops.h\n F: include/system/whpx-common.h\n F: include/system/whpx-internal.h\n+F: docs/system/whpx.rst\n \n MSHV\n M: Magnus Kulke <magnuskulke@linux.microsoft.com>\ndiff --git a/docs/system/index.rst b/docs/system/index.rst\nindex bb948e2993c..4509630fa46 100644\n--- a/docs/system/index.rst\n+++ b/docs/system/index.rst\n@@ -40,6 +40,7 @@ or Hypervisor.Framework.\n confidential-guest-support\n igvm\n nitro\n+ whpx\n vm-templating\n sriov\n qemu-colo\ndiff --git a/docs/system/whpx.rst b/docs/system/whpx.rst\nnew file mode 100644\nindex 00000000000..3e1979028c9\n--- /dev/null\n+++ b/docs/system/whpx.rst\n@@ -0,0 +1,144 @@\n+Windows Hypervisor Platform\n+===========================\n+\n+Windows Hypervisor Platform is the Windows API for use of\n+third-party virtual machine monitors with hardware acceleration\n+on Hyper-V.\n+\n+It's implemented on top of ``Vid``, which is itself implemented\n+on the same set of hypercalls as the ``mshv`` driver on Linux.\n+\n+WHPX is the name of the Windows Hypervisor Platform accelerator\n+backend in QEMU. It enables using QEMU with hardware acceleration\n+on both x86_64 and arm64 Windows machines.\n+\n+Prerequisites\n+-------------\n+\n+WHPX requires the Windows Hypervisor Platform feature to be installed.\n+\n+Installation\n+^^^^^^^^^^^^\n+On client editions of Windows, that means installation through\n+Windows Features (``optionalfeatures.exe``). On server editions,\n+feature-based installation in Server Manager can be used.\n+\n+Alternatively, command line installation is also possible through:\n+``DISM /online /Enable-Feature /FeatureName:HypervisorPlatform /All``\n+\n+Minimum OS version\n+^^^^^^^^^^^^^^^^^^\n+\n+On x86_64, QEMU's Windows Hypervisor Platform backend is tested \n+starting from Windows 10 version 2004. Earlier Windows 10 releases\n+*might* work but are not tested.\n+\n+On arm64, Windows 11 24H2 with the April 2025 optional updates\n+or May 2025 security updates is the minimum required release. \n+\n+Prior releases of Windows 11 version 24H2 on ARM64 shipped \n+with a pre-release version of the Windows Hypervisor Platform\n+API, which is not supported in QEMU.\n+\n+Quick Start\n+-----------\n+\n+Launching a virtual machine on x86_64 with WHPX acceleration::\n+\n+ $ qemu-system-x86_64.exe -accel whpx -M pc \\\n+ -smp cores=2 -m 2G -device ich9-usb-ehci1 \\\n+ -device usb-tablet -hda OS.qcow2\n+\n+Launching a virtual machine on arm64 with WHPX acceleration::\n+\n+ $ qemu-system-aarch64.exe -accel whpx -M virt \\\n+ -cpu host -smp cores=2 -m 2G \\\n+ -bios edk2-aarch64-code.fd \\\n+ -device ramfb -device nec-usb-xhci \\\n+ -device usb-kbd -device usb-tablet \\\n+ -hda OS.qcow2\n+\n+On arm64, for non-Windows guests, ``-device virtio-gpu-pci`` provides\n+additional functionality compared to ``-device ramfb``, but is\n+incompatible with Windows's UEFI GOP implementation, which\n+expects a linear framebuffer to be available.\n+\n+Some tracing options\n+--------------------\n+\n+x86_64\n+^^^^^^\n+\n+``-trace whpx_unsupported_msr_access`` can be used to log accesses\n+to undocumented MSRs.\n+\n+``-d invalid_mem`` allows to trace accesses to unmapped\n+GPAs.\n+\n+Known issues on x86_64\n+----------------------\n+\n+Guests using legacy VGA modes\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+In guests using VGA modes that QEMU doesn't pass through framebuffer\n+memory for, performance will be quite suboptimal.\n+\n+Workaround: for affected guests, use a more modern graphics mode.\n+Alternatively, use TCG to run those guests.\n+\n+Guests using MMX, SSE or AVX instructions for MMIO\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Currently, ``target/i386/emulate`` does not support guests that use\n+MMX, SSE or AVX instructions for access to MMIO memory ranges.\n+\n+Attempts to run such guests will result in an ``Unimplemented handler``\n+warning for MMX and a failure to decode for newer instructions.\n+\n+``-M isapc``\n+^^^^^^^^^^^^\n+\n+``-M isapc`` doesn't disable the Hyper-V LAPIC on its own yet. To\n+be able to use that machine, use ``-accel whpx,hyperv=off,kernel-irqchip=off``.\n+\n+However, in QEMU 11.0, the guest will still be a 64-bit x86\n+ISA machine with all the corresponding CPUID leaves exposed.\n+\n+gdbstub\n+^^^^^^^\n+\n+As save/restore of xsave state is not currently present, state\n+exposed through GDB will be incomplete.\n+\n+The same also applies to ``info registers``.\n+\n+``-cpu type`` ignored\n+^^^^^^^^^^^^^^^^^^^^^\n+\n+In this release, -cpu is an ignored argument. \n+\n+PIC interrupts on Windows 10\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+On Windows 10, a legacy PIC interrupt injected does not wake the guest\n+from an HLT when using the Hyper-V provided interrupt controller.\n+\n+This has been addressed in QEMU 11.0 on Windows 11 platforms but\n+functionality to make it available on Windows 10 isn't present.\n+\n+Workaround: for affected use cases, use ``-M kernel-irqchip=off``.\n+\n+Known issues on Windows 11\n+^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+Nested virtualisation-specific Hyper-V enlightenments are not\n+currently exposed.\n+\n+arm64\n+-----\n+\n+ISA feature support\n+^^^^^^^^^^^^^^^^^^^\n+\n+SVE and SME are not currently supported.\n", "prefixes": [ "PULL", "02/12" ] }