Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2231463/?format=api
{ "id": 2231463, "url": "http://patchwork.ozlabs.org/api/patches/2231463/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430172204.1006673-20-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": "<20260430172204.1006673-20-pbonzini@redhat.com>", "list_archive_url": null, "date": "2026-04-30T17:21:25", "name": "[PULL,19/58] hw/qdev: Prefix bus type in qdev_get_printable_name() device paths", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "d1e158725f18e4a214e42964fa3daf4bdcbc7d30", "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/20260430172204.1006673-20-pbonzini@redhat.com/mbox/", "series": [ { "id": 502347, "url": "http://patchwork.ozlabs.org/api/series/502347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502347", "date": "2026-04-30T17:21:16", "name": "[PULL,01/58] pythondeps: bump to meson 1.11.1", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502347/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231463/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231463/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=Azif22Cp;\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=LBjiejOc;\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=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.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 4g61Rt3Zlfz1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 03:31:22 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIV6a-0004xO-02; Thu, 30 Apr 2026 13:23:16 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.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 1wIV6X-0004wE-VN\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:13 -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 1wIV6V-0004T7-T3\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 13:23:13 -0400", "from mail-qk1-f199.google.com (mail-qk1-f199.google.com\n [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-426-aJrFvzdYMLmCsD7KfGEkRQ-1; Thu, 30 Apr 2026 13:23:09 -0400", "by mail-qk1-f199.google.com with SMTP id\n af79cd13be357-8eb52a22e85so262106085a.2\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 10:23:09 -0700 (PDT)", "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8fbb4707c2dsm21586185a.47.2026.04.30.10.23.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 10:23:07 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777569791;\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=+hUcq6A7hmtpQ4Z5g+/0lakuLs6bGhM5h8wBcF/fIJo=;\n b=Azif22Cpxetwq+Ed00rTooMtQy/hr1bgX90kyir6i+aalLISoOwbAcaPW9BtpX3FZ65rWI\n APceZIZ9FekKhIa4FimVujyE3m4C2oSGOzyvC+7o/577R6VsaXjLbv8zmB2ohdwULuYKvN\n 0iSKD6uUXduPPVdQBtyw+eoM8pxCJno=", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777569789; x=1778174589; 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=+hUcq6A7hmtpQ4Z5g+/0lakuLs6bGhM5h8wBcF/fIJo=;\n b=LBjiejOcFrfQp1Hh401+ucb8WVsRrK2zM9s6adSybKNb/d9wA8Y+qqwWPi0FOcbbaw\n IV3eTTZm5KHySvd8RSNvXbknhk86+qhh5lfTy7TeT1qRT+r2APwYh9RKtli/fsQ1bC7q\n HOMIesQNXh+/IPUD75/Jg/NTvwGrfvIGKNt+5USEgRnbN8/wWYg8hQnarGrx1iSG1lIV\n wlv5K+6W9MpoOiT01QZc0CQ7M2T0wUGnHydhgm7xqoZNiCgYdnPFfURqO93k1qVczSpI\n UMiJjuuaHz1fyDrBTej2gZDd6FLouQdQo5Yv4s+7ghdU5lFBWi2m9pp01r6WB64q4HzJ\n AQiw==" ], "X-MC-Unique": "aJrFvzdYMLmCsD7KfGEkRQ-1", "X-Mimecast-MFC-AGG-ID": "aJrFvzdYMLmCsD7KfGEkRQ_1777569789", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777569789; x=1778174589;\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=+hUcq6A7hmtpQ4Z5g+/0lakuLs6bGhM5h8wBcF/fIJo=;\n b=JZucg70EbYbKBsOqUaYtd443P9HriAZhVCfzKDNQHSJul/YWastjAlmAtTvFrktX9p\n Gf39mjWfcBBNhIJwgiFQctAmwrORciCqUfT07QfKBcC8c7NyEuJwPopFui/l6BC5P0Tn\n XdoL5HycaL0tsMx9sFPMxWbv+wWXmqU/KIz5zFAauiRRRqGjVrm84n29br6DYgckQC/b\n 3QWkI162quQq7rGfC432x9LvTNkEOeC6EqbmPci7eXNBWiqjMTssvau+DcHv/rLlRYso\n HtqqIoGzS+xSppLxCDkULjkrk0n7GfraqsEsSK4VKUKVhDf+El0+Vo2NY4F6nluK4GH1\n L+UQ==", "X-Gm-Message-State": "AOJu0Yxj3hbfeKjCy8mLpcMPX6lqjix7xRUvULV6es3sIGagVWoF3+d3\n VyUp/q+FUbYRN5VxO9EKGLVMup4S6+JTWmmxYG8ZqkQfxWufSVEa+OGXWL2MCgx3n/I5IT5TSWz\n i/qFv7Ew083GMuiNXHkz33abBlJysUTHyXIugq1c8JDD/XTSscKAk9hYsQwdyd2T/LuVNlQ+k4F\n fQDmG5ma1x6329K3szrjQs4E5rxa4jXgyKQqajyccQ", "X-Gm-Gg": "AeBDievEfHPmhyoLVvXz7yGUL9s6vcVGeaEDkaicUKkuQYvKKXUR5qRWRiy2rQvMuH4\n Z++OPmbH/bTJGzXDOS+9pxmc91nacj3UTIAxaGtstekp4EHdNNswHyuRVk8Q38vCw1aFGpLgnCz\n SFq/eDUFV9+basYZya2ge1zvsmcGwRpHPC702FMZnKtM6Llwx7HAdr124PUag+DJAlYcte9hhgf\n Gw6sAPO3+nAwbZKxEGUji3XLkwKib6jseg+o4sPxxip8/D/oS2E+P1AVPooh+QwbzxvyqFWV2W9\n 844g8KGKSpYCwrBtf/WBgm6qcAfv80URWcL2t8wxsHCT8qdK340TBnb94B4O6d3AYeICXEnwQld\n Hay6BK21f7tBMrv29NgGVbklEd7U712p/kLx0KgVQNcgQ39AFPwtowSe6IQbHwI7qLBjzHaBkY6\n v2FkGkXL4v+/SELdGF1OZSYktIUL7i0GXzs78=", "X-Received": [ "by 2002:a05:620a:4804:b0:8ea:b4d3:b19c with SMTP id\n af79cd13be357-8fa88943897mr571094785a.28.1777569788695;\n Thu, 30 Apr 2026 10:23:08 -0700 (PDT)", "by 2002:a05:620a:4804:b0:8ea:b4d3:b19c with SMTP id\n af79cd13be357-8fa88943897mr571089085a.28.1777569788137;\n Thu, 30 Apr 2026 10:23:08 -0700 (PDT)" ], "From": "Paolo Bonzini <pbonzini@redhat.com>", "To": "qemu-devel@nongnu.org", "Cc": "Alessandro Ratti <alessandro@0x65c.net>,\n Markus Armbruster <armbru@redhat.com>", "Subject": "[PULL 19/58] hw/qdev: Prefix bus type in qdev_get_printable_name()\n device paths", "Date": "Thu, 30 Apr 2026 19:21:25 +0200", "Message-ID": "<20260430172204.1006673-20-pbonzini@redhat.com>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260430172204.1006673-1-pbonzini@redhat.com>", "References": "<20260430172204.1006673-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": "-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_H5=0.001, RCVD_IN_MSPIKE_WL=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: Alessandro Ratti <alessandro@0x65c.net>\n\nRaw get_dev_path() output (e.g. \"0000:00:04.0\", \"/1\") is ambiguous\nwithout knowing which bus produced it. Prefix the path with the bus\ntype name so error messages become self-describing.\n\nExamples:\n - PCIE device 0000:00:04.0\n - virtio-pci-bus device 0000:00:03.0\n\nSuggested-by: Markus Armbruster <armbru@redhat.com>\nSigned-off-by: Alessandro Ratti <alessandro@0x65c.net>\nReviewed-by: Markus Armbruster <armbru@redhat.com>\nLink: https://lore.kernel.org/r/20260321100405.1525059-3-alessandro@0x65c.net\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n hw/core/qdev.c | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/hw/core/qdev.c b/hw/core/qdev.c\nindex 78156185d57..0efc83f6740 100644\n--- a/hw/core/qdev.c\n+++ b/hw/core/qdev.c\n@@ -419,11 +419,13 @@ const char *qdev_get_printable_name(DeviceState *dev)\n }\n /*\n * Fall back to a bus-specific device path, if the bus\n- * provides one (e.g. PCI address \"0000:00:04.0\").\n+ * provides one (e.g. \"PCI device 0000:00:04.0\").\n */\n- const char *path = qdev_get_dev_path(dev);\n+ g_autofree char *path = qdev_get_dev_path(dev);\n if (path) {\n- return path;\n+ const char *bus_type = object_get_typename(OBJECT(dev->parent_bus));\n+ char *name = g_strdup_printf(\"%s device %s\", bus_type, path);\n+ return name;\n }\n \n return object_get_canonical_path(OBJECT(dev));\n", "prefixes": [ "PULL", "19/58" ] }