Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217649/?format=api
{ "id": 2217649, "url": "http://patchwork.ozlabs.org/api/patches/2217649/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330095226.158386-3-dtalexundeer@yandex-team.ru/", "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": "<20260330095226.158386-3-dtalexundeer@yandex-team.ru>", "list_archive_url": null, "date": "2026-03-30T09:52:23", "name": "[v3,2/5] vhost-user-blk: make inflight-migration prop mutable", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "abef5c3dc9d9c5857de7aa6b195a3b5b2721dc7f", "submitter": { "id": 90655, "url": "http://patchwork.ozlabs.org/api/people/90655/?format=api", "name": "Alexandr Moshkov", "email": "dtalexundeer@yandex-team.ru" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330095226.158386-3-dtalexundeer@yandex-team.ru/mbox/", "series": [ { "id": 497991, "url": "http://patchwork.ozlabs.org/api/series/497991/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497991", "date": "2026-03-30T09:52:26", "name": "vhost-user-blk: fix compatibility with older qemu versions", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/497991/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217649/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217649/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=yandex-team.ru header.i=@yandex-team.ru\n header.a=rsa-sha256 header.s=default header.b=Y7StvfMd;\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)", "mail-nwsmtp-smtp-corp-main-83.vla.yp-c.yandex.net;\n dkim=pass header.i=@yandex-team.ru" ], "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 4fkmml3lgdz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 20:54: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 1w79Ix-0005R7-KC; Mon, 30 Mar 2026 05:53:07 -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 <dtalexundeer@yandex-team.ru>)\n id 1w79Ic-0005N5-Jv; Mon, 30 Mar 2026 05:52:48 -0400", "from forwardcorp1a.mail.yandex.net\n ([2a02:6b8:c0e:500:1:45:d181:df01])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <dtalexundeer@yandex-team.ru>)\n id 1w79IY-00064A-UF; Mon, 30 Mar 2026 05:52:46 -0400", "from mail-nwsmtp-smtp-corp-main-83.vla.yp-c.yandex.net\n (mail-nwsmtp-smtp-corp-main-83.vla.yp-c.yandex.net\n [IPv6:2a02:6b8:c2d:3530:0:640:eca4:0])\n by forwardcorp1a.mail.yandex.net (Yandex) with ESMTPS id 346B6C01FC;\n Mon, 30 Mar 2026 12:52:37 +0300 (MSK)", "from dtalexundeer-nx.yandex-team.ru (unknown\n [2a02:6bf:8080:78d::1:13])\n by mail-nwsmtp-smtp-corp-main-83.vla.yp-c.yandex.net (smtpcorp/Yandex) with\n ESMTPSA id QqVNFG1Af4Y0-8tPIkIoj; Mon, 30 Mar 2026 12:52:36 +0300" ], "Precedence": "bulk", "X-Yandex-Fwd": "1", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru;\n s=default; t=1774864356;\n bh=tvpetmyA7aRUautwgNAeiVLIXNe7ZPT4ooJEso7UfBg=;\n h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From;\n b=Y7StvfMdG2Y6ODvynRtmLOJJ7PI6ce07buwgUWgk8gxCFTlT0iKv59ZpsTAr32DFQ\n 2/L49NLbuwLuULrj2TAvCl2Tvh3fgZRadSVs++ACmgwjh+Rmew01tDqUrxHLpYgCHs\n DjjkY9wWZaSRmYddF1IAbhjXpWGtHGfKWLegbY0k=", "From": "Alexandr Moshkov <dtalexundeer@yandex-team.ru>", "To": "qemu-devel@nongnu.org", "Cc": "\"Gonglei (Arei)\" <arei.gonglei@huawei.com>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>,\n Milan Zamazal <mzamazal@redhat.com>, Raphael Norwitz <rnorwitz@nvidia.com>,\n Paolo Bonzini <pbonzini@redhat.com>, Jason Wang <jasowang@redhat.com>,\n qemu-block@nongnu.org, Fam Zheng <fam@euphon.net>,\n zhenwei pi <zhenwei.pi@linux.dev>, Hanna Reitz <hreitz@redhat.com>,\n virtio-fs@lists.linux.dev, Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Stefano Garzarella <sgarzare@redhat.com>,\n \"Michael S. Tsirkin\" <mst@redhat.com>,\n \"yc-core@yandex-team.ru\" <yc-core@yandex-team.ru>,\n Kevin Wolf <kwolf@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>,\n Alexandr Moshkov <dtalexundeer@yandex-team.ru>", "Subject": "[PATCH v3 2/5] vhost-user-blk: make inflight-migration prop mutable", "Date": "Mon, 30 Mar 2026 14:52:23 +0500", "Message-Id": "<20260330095226.158386-3-dtalexundeer@yandex-team.ru>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260330095226.158386-1-dtalexundeer@yandex-team.ru>", "References": "<20260330095226.158386-1-dtalexundeer@yandex-team.ru>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a02:6b8:c0e:500:1:45:d181:df01;\n envelope-from=dtalexundeer@yandex-team.ru; helo=forwardcorp1a.mail.yandex.net", "X-Spam_score_int": "-27", "X-Spam_score": "-2.8", "X-Spam_bar": "--", "X-Spam_report": "(-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,\n 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", "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": "Now this property can be turned on or off using the qom-set\n\nSigned-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>\n---\n hw/block/vhost-user-blk.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)", "diff": "diff --git a/hw/block/vhost-user-blk.c b/hw/block/vhost-user-blk.c\nindex c151e83677..179f027cb4 100644\n--- a/hw/block/vhost-user-blk.c\n+++ b/hw/block/vhost-user-blk.c\n@@ -603,6 +603,8 @@ static const VMStateDescription vmstate_vhost_user_blk = {\n }\n };\n \n+static PropertyInfo vhost_user_blk_inflight_migration_prop;\n+\n static const Property vhost_user_blk_properties[] = {\n DEFINE_PROP_CHR(\"chardev\", VHostUserBlk, chardev),\n DEFINE_PROP_UINT16(\"num-queues\", VHostUserBlk, num_queues,\n@@ -616,8 +618,9 @@ static const Property vhost_user_blk_properties[] = {\n VIRTIO_BLK_F_WRITE_ZEROES, true),\n DEFINE_PROP_BOOL(\"skip-get-vring-base-on-force-shutdown\", VHostUserBlk,\n skip_get_vring_base_on_force_shutdown, false),\n- DEFINE_PROP_BOOL(\"inflight-migration\", VHostUserBlk,\n- inflight_migration, false),\n+ DEFINE_PROP(\"inflight-migration\", VHostUserBlk, inflight_migration,\n+ vhost_user_blk_inflight_migration_prop, bool,\n+ .set_default = true, .defval.u = false),\n };\n \n static void vhost_user_blk_class_init(ObjectClass *klass, const void *data)\n@@ -649,6 +652,9 @@ static const TypeInfo vhost_user_blk_info = {\n \n static void virtio_register_types(void)\n {\n+ vhost_user_blk_inflight_migration_prop = qdev_prop_bool;\n+ vhost_user_blk_inflight_migration_prop.realized_set_allowed = true;\n+\n type_register_static(&vhost_user_blk_info);\n }\n \n", "prefixes": [ "v3", "2/5" ] }