get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2196565/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2196565,
    "url": "http://patchwork.ozlabs.org/api/patches/2196565/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260215052225.22513-14-mohamed@unpredictable.fr/",
    "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": "<20260215052225.22513-14-mohamed@unpredictable.fr>",
    "list_archive_url": null,
    "date": "2026-02-15T05:22:24",
    "name": "[v3,13/14] whpx: common, i386, arm: rework state levels",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c94e893178b30855b55609da9999166a686e78ae",
    "submitter": {
        "id": 91318,
        "url": "http://patchwork.ozlabs.org/api/people/91318/?format=api",
        "name": "Mohamed Mediouni",
        "email": "mohamed@unpredictable.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260215052225.22513-14-mohamed@unpredictable.fr/mbox/",
    "series": [
        {
            "id": 492201,
            "url": "http://patchwork.ozlabs.org/api/series/492201/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=492201",
            "date": "2026-02-15T05:22:12",
            "name": "whpx: x86 updates (2026-02)",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/492201/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196565/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196565/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 (2048-bit key;\n unprotected) header.d=unpredictable.fr header.i=@unpredictable.fr\n header.a=rsa-sha256 header.s=sig1 header.b=SonolE8p;\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 4fDDq31vhpz1xwj\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 16:24:15 +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 1vrUbP-0000UT-Es; Sun, 15 Feb 2026 00:23:27 -0500",
            "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 <mohamed@unpredictable.fr>)\n id 1vrUbJ-0000Sb-Ud\n for qemu-devel@nongnu.org; Sun, 15 Feb 2026 00:23:23 -0500",
            "from p-west2-cluster1-host7-snip4-1.eps.apple.com ([57.103.68.84]\n helo=outbound.mr.icloud.com)\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <mohamed@unpredictable.fr>)\n id 1vrUbI-0004ve-11\n for qemu-devel@nongnu.org; Sun, 15 Feb 2026 00:23:21 -0500",
            "from outbound.mr.icloud.com (unknown [127.0.0.2])\n by p00-icloudmta-asmtp-us-west-2a-60-percent-1 (Postfix) with ESMTPS id\n 96EC818006A5; Sun, 15 Feb 2026 05:23:17 +0000 (UTC)",
            "from localhost.localdomain (unknown [17.57.152.38])\n by p00-icloudmta-asmtp-us-west-2a-60-percent-1 (Postfix) with ESMTPSA id\n 221ED180010F; Sun, 15 Feb 2026 05:23:13 +0000 (UTC)"
        ],
        "Dkim-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=unpredictable.fr;\n s=sig1; t=1771132998; x=1773724998;\n bh=cUFDI02m9bVvoDC8Iny/nXz8SIocy9TmvsXqyyUJ85w=;\n h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;\n b=SonolE8pWHQpLNqtgeuRlJTkGI/x4xC4cBADh/FzLYBUrWDTvEzCOTBquqY5iwIQslhgIWD0lQqIY5ZUaOv+kroU+W4q8Crbz5hEC0kqvAmfKCJPIBzlDQh95acZedgTk4I+N5aJLnM1iEroU3erv91tfz4pOxgakRwkz8o3YftrFc0ePoQAbM/wofi8hUT0AGccHD7pz8uI3qx/ouW5xY8CBo3zpQjPV4SrCdmf3faidcqV5uMsJ/oca0LhiNnH+/r2Hg98l2AsKXb+zOnf7vMq6oambp46aLXBKL1yULsuAcpwgnG0K8EZI1Nkcj6fj3RYHEwyr1v9eJ3jQis7Ug==",
        "mail-alias-created-date": "1752046281608",
        "From": "Mohamed Mediouni <mohamed@unpredictable.fr>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Phil Dennis-Jordan <phil@philjordan.eu>,\n Bernhard Beschow <shentey@gmail.com>, Cameron Esfahani <dirty@apple.com>,\n Magnus Kulke <magnuskulke@linux.microsoft.com>, qemu-arm@nongnu.org,\n Peter Maydell <peter.maydell@linaro.org>,\n Roman Bolshakov <rbolshakov@ddn.com>, Paolo Bonzini <pbonzini@redhat.com>,\n Mohamed Mediouni <mohamed@unpredictable.fr>,\n Pedro Barbuda <pbarbuda@microsoft.com>,\n =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, =?utf-8?q?Marc?=\n\t=?utf-8?q?-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>,\n Magnus Kulke <magnus.kulke@linux.microsoft.com>, =?utf-8?q?Philippe_Mathieu?=\n\t=?utf-8?q?-Daud=C3=A9?= <philmd@linaro.org>, Wei Liu <wei.liu@kernel.org>,\n Zhao Liu <zhao1.liu@intel.com>",
        "Subject": "[PATCH v3 13/14] whpx: common, i386, arm: rework state levels",
        "Date": "Sun, 15 Feb 2026 06:22:24 +0100",
        "Message-ID": "<20260215052225.22513-14-mohamed@unpredictable.fr>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<20260215052225.22513-1-mohamed@unpredictable.fr>",
        "References": "<20260215052225.22513-1-mohamed@unpredictable.fr>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Authority-Info-Out": "v=2.4 cv=KqVAGGWN c=1 sm=1 tr=0 ts=69915846\n cx=c_apl:c_apl_out:c_pps a=9OgfyREA4BUYbbCgc0Y0oA==:117\n a=9OgfyREA4BUYbbCgc0Y0oA==:17 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22\n a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=N0RsYbKkH9eAvmUnK9wA:9",
        "X-Proofpoint-GUID": "HJ6jGs436TB3iWWzMxL9K6UYzLtNa1M1",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMjE1MDAzNiBTYWx0ZWRfX/mLhCpM5/v3C\n 0Vutt/lqqjssPschftdM344Nhvr/Sq56AjaKGnCQ0ag+vAfGFXRgC44ZNna9E4OzfInIUXGn+lI\n i09fMSZm7DhunqvUZ46DFVQHXpvv4XF1Qe0kXVW2ntHhZGJivdL8ksZ6yLQVn7m4gQ+B6NSldqw\n +JidweIxAnpKklVssZBczZn42HCgOmIeecKa8UjwsRlJFLM2EpE5oDaFiK4ghZL5l4AxgxfU2W6\n oQaMHOCzC6tvYO+lcqu7LYRHU9ZbH4S/gDZwc26ubCRxhWNv90X35NL+Fez0Owq9Kejg7VxjSzt\n etzgdQIKfxXb2X3se1i17ALgTaYjxuTJb6H2AaGoDgUU5EL8NwEPxl29jPYIp8=",
        "X-Proofpoint-ORIG-GUID": "HJ6jGs436TB3iWWzMxL9K6UYzLtNa1M1",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-02-15_02,2026-02-13_01,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 adultscore=0\n lowpriorityscore=0 mlxscore=0 bulkscore=0 clxscore=1030 suspectscore=0\n phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 classifier=spam\n authscore=0 adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000\n definitions=main-2602150036",
        "X-JNJ": "\n AAAAAAABiZVb8qEQG92w2xHK6WAaRZyr+KsPz1JcB//68CAyxD1FjljBIO6JiWW/ASoF91oQXMT1h60uW/1BZtrI4Cxtk0DMHB7MoTr8CFQFktnp+SKlk49HbDsginIVSUPKO5i1m1eYSTkwHyBsWBT2gu8+un/UWRa9drGvvAw6uTsSIfrKo4j7+DAgfjvQ3uDaeYkt/G118r2nsTdgpIz9cIDvc0SSXBp/qYIyWyzDtQXb8OQKVxIcCehhD9j/1SqSWBmt3cFk1gTEMFIpVJ99F1HvRTYL03D3VawtXosaX/ZHX8itHj4OELy8D+twYxymmpgpxlw2MKwNUWyepT2ouzxgJDdjj/d1E4MQhxGilZXwacJftQLd11GgRoaJZsyE548XhNyU+tngw/lRcBCa7Yu7ab5/+jI0ezeMD1NbZ47vkwaDrJDNzb4bl8nBGhFEiNnLYocraVL1Pw3sTO6tXL1cu8nPKfOVWz2beBqiX7tbo7CY2n/yroCfOVsrVEPlS0Ezi0+KQLU9OkvIMDUct9qtvQ31JYw6L/iSXS14hLQbhMpoCd436zQhy4QZ80sjwtWjtRjVCgS9HAUWlxVc4kRMOTywwirFZWoN+4uK8qU5W/tZYhxZZnbrvkiL4zNKtNWH6WJtEh+/WlhCDNoGvIWg9X9z/acAko5UHm/Le9SZ5kDYUyQ/A6THm3FUcnlt0AGoZ6G6u+F20ChAp8hpcBhBl3ZalizNb4i4nNumlIbctyoKHzPV6gR5qGRF1079KdTbMamQLqTBYYnF8K3djt8PH1lC7ULtcYjn4PH+shc=",
        "Received-SPF": "pass client-ip=57.103.68.84;\n envelope-from=mohamed@unpredictable.fr; helo=outbound.mr.icloud.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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": "Change state levels from a set of ifdefs to an enum.\nMake register state loads use state levels too.\n\nSigned-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\n---\n accel/whpx/whpx-common.c        |  8 ++++----\n include/system/whpx-accel-ops.h | 16 ++++++++++------\n include/system/whpx-all.h       |  6 ++++--\n target/arm/whpx/whpx-all.c      |  8 ++++----\n target/i386/whpx/whpx-all.c     | 16 ++++++++--------\n 5 files changed, 30 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/accel/whpx/whpx-common.c b/accel/whpx/whpx-common.c\nindex 245e64a12f..06038dd7f1 100644\n--- a/accel/whpx/whpx-common.c\n+++ b/accel/whpx/whpx-common.c\n@@ -46,7 +46,7 @@ struct WHPDispatch whp_dispatch;\n void flush_cpu_state(CPUState *cpu)\n {\n     if (cpu->vcpu_dirty) {\n-        whpx_set_registers(cpu, WHPX_SET_RUNTIME_STATE);\n+        whpx_set_registers(cpu, WHPX_LEVEL_RUNTIME_STATE);\n         cpu->vcpu_dirty = false;\n     }\n }\n@@ -180,7 +180,7 @@ int whpx_last_vcpu_stopping(CPUState *cpu)\n static void do_whpx_cpu_synchronize_state(CPUState *cpu, run_on_cpu_data arg)\n {\n     if (!cpu->vcpu_dirty) {\n-        whpx_get_registers(cpu);\n+        whpx_get_registers(cpu, WHPX_LEVEL_FULL_STATE);\n         cpu->vcpu_dirty = true;\n     }\n }\n@@ -188,14 +188,14 @@ static void do_whpx_cpu_synchronize_state(CPUState *cpu, run_on_cpu_data arg)\n static void do_whpx_cpu_synchronize_post_reset(CPUState *cpu,\n                                                run_on_cpu_data arg)\n {\n-    whpx_set_registers(cpu, WHPX_SET_RESET_STATE);\n+    whpx_set_registers(cpu, WHPX_LEVEL_RESET_STATE);\n     cpu->vcpu_dirty = false;\n }\n \n static void do_whpx_cpu_synchronize_post_init(CPUState *cpu,\n                                               run_on_cpu_data arg)\n {\n-    whpx_set_registers(cpu, WHPX_SET_FULL_STATE);\n+    whpx_set_registers(cpu, WHPX_LEVEL_FULL_STATE);\n     cpu->vcpu_dirty = false;\n }\n \ndiff --git a/include/system/whpx-accel-ops.h b/include/system/whpx-accel-ops.h\nindex ed9d4c49f4..4b2a732654 100644\n--- a/include/system/whpx-accel-ops.h\n+++ b/include/system/whpx-accel-ops.h\n@@ -22,11 +22,15 @@ void whpx_cpu_synchronize_post_reset(CPUState *cpu);\n void whpx_cpu_synchronize_post_init(CPUState *cpu);\n void whpx_cpu_synchronize_pre_loadvm(CPUState *cpu);\n \n-/* state subset only touched by the VCPU itself during runtime */\n-#define WHPX_SET_RUNTIME_STATE   1\n-/* state subset modified during VCPU reset */\n-#define WHPX_SET_RESET_STATE     2\n-/* full state set, modified during initialization or on vmload */\n-#define WHPX_SET_FULL_STATE      3\n+typedef enum WHPXStateLevel {\n+    /* subset of runtime state for faster returns from vmexit */\n+    WHPX_LEVEL_FAST_RUNTIME_STATE,\n+    /* state subset only touched by the VCPU itself during runtime */\n+    WHPX_LEVEL_RUNTIME_STATE,\n+    /* state subset modified during VCPU reset */\n+    WHPX_LEVEL_RESET_STATE,\n+    /* full state set, modified during initialization or on vmload */\n+    WHPX_LEVEL_FULL_STATE\n+} WHPXStateLevel;\n \n #endif /* TARGET_I386_WHPX_ACCEL_OPS_H */\ndiff --git a/include/system/whpx-all.h b/include/system/whpx-all.h\nindex b831c463b0..2cbea71b14 100644\n--- a/include/system/whpx-all.h\n+++ b/include/system/whpx-all.h\n@@ -2,10 +2,12 @@\n #ifndef SYSTEM_WHPX_ALL_H\n #define SYSTEM_WHPX_ALL_H\n \n+#include \"system/whpx-accel-ops.h\"\n+\n /* Called by whpx-common */\n int whpx_vcpu_run(CPUState *cpu);\n-void whpx_get_registers(CPUState *cpu);\n-void whpx_set_registers(CPUState *cpu, int level);\n+void whpx_get_registers(CPUState *cpu, WHPXStateLevel level);\n+void whpx_set_registers(CPUState *cpu, WHPXStateLevel level);\n int whpx_accel_init(AccelState *as, MachineState *ms);\n void whpx_cpu_instance_init(CPUState *cs);\n HRESULT whpx_set_exception_exit_bitmap(UINT64 exceptions);\ndiff --git a/target/arm/whpx/whpx-all.c b/target/arm/whpx/whpx-all.c\nindex c8d71a252e..a1be82b878 100644\n--- a/target/arm/whpx/whpx-all.c\n+++ b/target/arm/whpx/whpx-all.c\n@@ -418,7 +418,7 @@ int whpx_vcpu_run(CPUState *cpu)\n     do {\n         bool advance_pc = false;\n         if (cpu->vcpu_dirty) {\n-            whpx_set_registers(cpu, WHPX_SET_RUNTIME_STATE);\n+            whpx_set_registers(cpu, WHPX_LEVEL_RUNTIME_STATE);\n             cpu->vcpu_dirty = false;\n         }\n \n@@ -483,7 +483,7 @@ int whpx_vcpu_run(CPUState *cpu)\n         default:\n             error_report(\"WHPX: Unexpected VP exit code 0x%08x\",\n                          vcpu->exit_ctx.ExitReason);\n-            whpx_get_registers(cpu);\n+            whpx_get_registers(cpu, WHPX_LEVEL_FULL_STATE);\n             bql_lock();\n             qemu_system_guest_panicked(cpu_get_crash_info(cpu));\n             bql_unlock();\n@@ -517,7 +517,7 @@ static void clean_whv_register_value(WHV_REGISTER_VALUE *val)\n     memset(val, 0, sizeof(WHV_REGISTER_VALUE));\n }\n \n-void whpx_get_registers(CPUState *cpu)\n+void whpx_get_registers(CPUState *cpu, WHPXStateLevel level)\n {\n     ARMCPU *arm_cpu = ARM_CPU(cpu);\n     CPUARMState *env = &arm_cpu->env;\n@@ -564,7 +564,7 @@ void whpx_get_registers(CPUState *cpu)\n     aarch64_restore_sp(env, arm_current_el(env));\n }\n \n-void whpx_set_registers(CPUState *cpu, int level)\n+void whpx_set_registers(CPUState *cpu, WHPXStateLevel level)\n {\n     ARMCPU *arm_cpu = ARM_CPU(cpu);\n     CPUARMState *env = &arm_cpu->env;\ndiff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c\nindex 0e8fb0e72e..7bbe63e794 100644\n--- a/target/i386/whpx/whpx-all.c\n+++ b/target/i386/whpx/whpx-all.c\n@@ -367,7 +367,7 @@ static uint64_t whpx_cr8_to_apic_tpr(uint64_t cr8)\n     return cr8 << 4;\n }\n \n-void whpx_set_registers(CPUState *cpu, int level)\n+void whpx_set_registers(CPUState *cpu, WHPXStateLevel level)\n {\n     struct whpx_state *whpx = &whpx_global;\n     AccelCPUState *vcpu = cpu->accel;\n@@ -386,7 +386,7 @@ void whpx_set_registers(CPUState *cpu, int level)\n      * Following MSRs have side effects on the guest or are too heavy for\n      * runtime. Limit them to full state update.\n      */\n-    if (level >= WHPX_SET_RESET_STATE) {\n+    if (level >= WHPX_LEVEL_RESET_STATE) {\n         whpx_set_tsc(cpu);\n     }\n \n@@ -582,7 +582,7 @@ static void whpx_get_xcrs(CPUState *cpu)\n     cpu_env(cpu)->xcr0 = xcr0.Reg64;\n }\n \n-void whpx_get_registers(CPUState *cpu)\n+void whpx_get_registers(CPUState *cpu, WHPXStateLevel level)\n {\n     struct whpx_state *whpx = &whpx_global;\n     AccelCPUState *vcpu = cpu->accel;\n@@ -768,10 +768,10 @@ static int emulate_instruction(CPUState *cpu, const uint8_t *insn_bytes, size_t\n     struct x86_decode decode = { 0 };\n     x86_insn_stream stream = { .bytes = insn_bytes, .len = insn_len };\n \n-    whpx_get_registers(cpu);\n+    whpx_get_registers(cpu, WHPX_LEVEL_FAST_RUNTIME_STATE);\n     decode_instruction_stream(env, &decode, &stream);\n     exec_instruction(env, &decode);\n-    whpx_set_registers(cpu, WHPX_SET_RUNTIME_STATE);\n+    whpx_set_registers(cpu, WHPX_LEVEL_FAST_RUNTIME_STATE);\n \n     return 0;\n }\n@@ -1587,7 +1587,7 @@ int whpx_vcpu_run(CPUState *cpu)\n \n     do {\n         if (cpu->vcpu_dirty) {\n-            whpx_set_registers(cpu, WHPX_SET_RUNTIME_STATE);\n+            whpx_set_registers(cpu, WHPX_LEVEL_RUNTIME_STATE);\n             cpu->vcpu_dirty = false;\n         }\n \n@@ -1794,7 +1794,7 @@ int whpx_vcpu_run(CPUState *cpu)\n             break;\n         }\n         case WHvRunVpExitReasonException:\n-            whpx_get_registers(cpu);\n+            whpx_get_registers(cpu, WHPX_LEVEL_FULL_STATE);\n \n             if ((vcpu->exit_ctx.VpException.ExceptionType ==\n                  WHvX64ExceptionTypeDebugTrapOrFault) &&\n@@ -1826,7 +1826,7 @@ int whpx_vcpu_run(CPUState *cpu)\n         default:\n             error_report(\"WHPX: Unexpected VP exit code %d\",\n                          vcpu->exit_ctx.ExitReason);\n-            whpx_get_registers(cpu);\n+            whpx_get_registers(cpu, WHPX_LEVEL_FULL_STATE);\n             bql_lock();\n             qemu_system_guest_panicked(cpu_get_crash_info(cpu));\n             bql_unlock();\n",
    "prefixes": [
        "v3",
        "13/14"
    ]
}