Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216019/?format=api
{ "id": 2216019, "url": "http://patchwork.ozlabs.org/api/patches/2216019/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260325164453.72127-9-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": "<20260325164453.72127-9-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-03-25T16:44:42", "name": "[PULL,08/19] whpx: i386: don't restore segment registers after MMIO handling", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a9411f12756fb833e95cdca6f1e0c373795341a4", "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/20260325164453.72127-9-pbonzini@redhat.com/mbox/", "series": [ { "id": 497473, "url": "http://patchwork.ozlabs.org/api/series/497473/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497473", "date": "2026-03-25T16:44:34", "name": "[PULL,01/19] tests/functional: preserve PYTHONPATH entries", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497473/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216019/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216019/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=H3SWsycI;\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=JEml2RmB;\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 4fgt9H37XSz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 03:46:59 +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 1w5RM5-0004rh-7T; Wed, 25 Mar 2026 12:45:17 -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 1w5RM4-0004po-BT\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 12:45:16 -0400", "from us-smtp-delivery-124.mimecast.com ([170.10.129.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 1w5RM2-0004di-Lj\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 12:45:16 -0400", "from mail-wm1-f70.google.com (mail-wm1-f70.google.com\n [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-33-ugOQ7RwDMEmt8Mjc_yjBKg-1; Wed, 25 Mar 2026 12:45:12 -0400", "by mail-wm1-f70.google.com with SMTP id\n 5b1f17b1804b1-48553fdd03dso420055e9.0\n for <qemu-devel@nongnu.org>; Wed, 25 Mar 2026 09:45:12 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48711764625sm147771045e9.14.2026.03.25.09.45.09\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 25 Mar 2026 09:45:09 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774457114;\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=0BvefcsBM41Sy57yzhbmwo6+n/NVrQ/jhC7lYqP5BXE=;\n b=H3SWsycI+d4qHohlfJt8XEbjEhiGscaxVtSPyMVHQaBRRdq7f07dhfqVWafaxpEDk8npjI\n 5ukievNeZhdFY9sgwYqO+v4HX6tXHt1Ey7lNIDuBcMuviwcXOti+DzBbtbVLkU28xm72k+\n iqP2t2jGAaBEPIqy26uZXmdKEmws9TI=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1774457110; x=1775061910; 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=0BvefcsBM41Sy57yzhbmwo6+n/NVrQ/jhC7lYqP5BXE=;\n b=JEml2RmBjVepA+I1/2Lx2EfRP5MEPBh7Jcn9C+0+4xMiUGbLm/b/xgxISYkYzhzcD3\n dNCzVDu19XNGyZRljmWowbkDb4diR1uJPSmplke+T+j7J4Lc5X3fyUPgfJ2vhAVmgK0e\n oiTEDsilnnkyGMlHsiS/J0siGoIubutZmmdJTDjmSdI6PCHvQyUOC94JaWV4D8pGcHVn\n lwEoO3yfBk09lezDXsDxKvyRG/fK7X26Ehvy94ju+UdlzwgMJ0r7/5Uz9hQGr0l0sGZm\n eSw/BHqOiS0FF9LkWfzI3s7dhHwY1V8CxKQnqX97mAJNwRK1prJqImgEkv+MyC6Junyv\n ta1w==" ], "X-MC-Unique": "ugOQ7RwDMEmt8Mjc_yjBKg-1", "X-Mimecast-MFC-AGG-ID": "ugOQ7RwDMEmt8Mjc_yjBKg_1774457111", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774457110; x=1775061910;\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=0BvefcsBM41Sy57yzhbmwo6+n/NVrQ/jhC7lYqP5BXE=;\n b=qcfsqfUaISyFT6WjmxXPGWaE/G4w6fKcZHpuLeaGAV9XOsgj/xs46WQQpw0mpUiGAF\n gFpHz63P2ioh/qfC5DfaOI73kQ0En7i1/q8h8HD9GA7sVQoMqiwy/lUDw1afxnVEmSAv\n WCg7rJnhYfvdI93fkqkMgO63qUgWexoraoxdivmeqgVf8y1yF+XkABTZ5saVcKcK7reK\n D01GqGxA0QDh1WL5zrT0VaF0VJyWg/9S3hH1fQRSl9Ol40yJe2fOzFBDAw911wWpwQv2\n wFPoVXjVsOketIPuaeM5j8fURAIDz6gj/65brea41oUi8+kEG5MIDVap17LbmOW5sfyv\n f2WA==", "X-Gm-Message-State": "AOJu0Yw/3WU17LYYhEq/Kq0qQD4jv7/GX9GDNNcz3IcR15BGRUad1+Hp\n qXn1vQlTB9zCtetf0Cge3/qscUfCNfg1qLISK/iuFpnWPdb0aOM6wJZJ1PydQ9Qs6ORgZnK0mAB\n /RGkHvTlZWPJPNW5Zd7UE23DZvSlQwnl0qBRZbbUVsItXfEV+jVe7i1F9Ef8Wv5HwA88B4J/lMt\n 8D/c2fahPF4j64sRKO4wgNBINqaxkwrW2IBCxUJpLh", "X-Gm-Gg": "ATEYQzzxbjzYs8uSE6Zd9/iW4a/eYtpzBPiQVFUlXD+ceZnSHNlkdHEh9TQD293MrEa\n Bq6GOPhoANk9D+toJdaxcOgAMpWiQydEsOm/XVmQSRsdbjQQtFwWaV6xpkbD7lC8rIubIhlO4tc\n y/6i/makcSFi7nhKXkZHASHsmcjqDs90Ndh9Zn2ZfCJqxus5NiqGm8uy2oHgS84dNfB2PJlJKNO\n HQ7fgE3FaI6ajqZzbjdAei/PSkqTtMx4hP+b4ZOAjyDxHhZ9bWWSM2SCSFsdaluMAG4DjwIDSao\n 5sUYPQQPkgZUA6RG41FWjIDA8cq2by77W9QLBxarlocZEXx2DwDcY1U1b+pGG03hAehUqQMGpqp\n a9tSGrJ+S6qyjYISQ2W6g4xAlXlpZVbBeDmpDsaGj5g48WOYjAtogFZKCxbm68Bi5v87VO04hNO\n yRMeLkT/TbKCOMSGsZDhAigLIL", "X-Received": [ "by 2002:a05:600c:3b12:b0:487:1c2:6a56 with SMTP id\n 5b1f17b1804b1-48715fc385amr70165715e9.3.1774457110401;\n Wed, 25 Mar 2026 09:45:10 -0700 (PDT)", "by 2002:a05:600c:3b12:b0:487:1c2:6a56 with SMTP id\n 5b1f17b1804b1-48715fc385amr70165085e9.3.1774457109814;\n Wed, 25 Mar 2026 09:45:09 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Mohamed Mediouni <mohamed@unpredictable.fr>", "Subject": "[PULL 08/19] whpx: i386: don't restore segment registers after MMIO\n handling", "Date": "Wed, 25 Mar 2026 17:44:42 +0100", "Message-ID": "<20260325164453.72127-9-pbonzini@redhat.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260325164453.72127-1-pbonzini@redhat.com>", "References": "<20260325164453.72127-1-pbonzini@redhat.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=170.10.129.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001,\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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,\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": "From: Mohamed Mediouni <mohamed@unpredictable.fr>\n\nSigned-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\nLink: https://lore.kernel.org/r/20260324151323.74473-6-mohamed@unpredictable.fr\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/whpx/whpx-all.c | 22 ++++++++++++----------\n 1 file changed, 12 insertions(+), 10 deletions(-)", "diff": "diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c\nindex c0c7ba91772..69d141e7cce 100644\n--- a/target/i386/whpx/whpx-all.c\n+++ b/target/i386/whpx/whpx-all.c\n@@ -416,19 +416,21 @@ void whpx_set_registers(CPUState *cpu, WHPXStateLevel level)\n assert(whpx_register_names[idx] == WHvX64RegisterRflags);\n lflags_to_rflags(env);\n vcxt.values[idx++].Reg64 = env->eflags;\n-\n- /* Translate 6+4 segment registers. HV and QEMU order matches */\n assert(idx == WHvX64RegisterEs);\n- for (i = 0; i < 6; i += 1, idx += 1) {\n- vcxt.values[idx].Segment = whpx_seg_q2h(&env->segs[i], v86, r86);\n- }\n \n- assert(idx == WHvX64RegisterLdtr);\n- /*\n- * Skip those registers for synchronisation after MMIO accesses\n- * as they're not going to be modified in that case.\n- */\n if (level > WHPX_LEVEL_FAST_RUNTIME_STATE) {\n+\n+ /* Translate 6+4 segment registers. HV and QEMU order matches */\n+ for (i = 0; i < 6; i += 1, idx += 1) {\n+ vcxt.values[idx].Segment = whpx_seg_q2h(&env->segs[i], v86, r86);\n+ }\n+\n+ assert(idx == WHvX64RegisterLdtr);\n+ /*\n+ * Skip those registers for synchronisation after MMIO accesses\n+ * as they're not going to be modified in that case.\n+ */\n+\n vcxt.values[idx++].Segment = whpx_seg_q2h(&env->ldt, 0, 0);\n \n assert(idx == WHvX64RegisterTr);\n", "prefixes": [ "PULL", "08/19" ] }