Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/2230794/?format=api
{ "id": 2230794, "url": "http://patchwork.ozlabs.org/api/1.1/covers/2230794/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20260430035626.3511676-1-pierrick.bouvier@oss.qualcomm.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/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": "" }, "msgid": "<20260430035626.3511676-1-pierrick.bouvier@oss.qualcomm.com>", "date": "2026-04-30T03:56:19", "name": "[v2,0/7] single-binary: deduplicate target_info()", "submitter": { "id": 93152, "url": "http://patchwork.ozlabs.org/api/1.1/people/93152/?format=api", "name": "Pierrick Bouvier", "email": "pierrick.bouvier@oss.qualcomm.com" }, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20260430035626.3511676-1-pierrick.bouvier@oss.qualcomm.com/mbox/", "series": [ { "id": 502185, "url": "http://patchwork.ozlabs.org/api/1.1/series/502185/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502185", "date": "2026-04-30T03:56:26", "name": "single-binary: deduplicate target_info()", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/502185/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2230794/comments/", "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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=gzDCtYSt;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=hsZshbVh;\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 4g5gvZ6nDWz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 14:20:42 +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 1wIIsq-0005p1-K2; Thu, 30 Apr 2026 00:20: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 <pierrick.bouvier@oss.qualcomm.com>)\n id 1wIIsp-0005nY-Cx\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 00:20:15 -0400", "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pierrick.bouvier@oss.qualcomm.com>)\n id 1wIIsn-0001db-HI\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 00:20:15 -0400", "from pps.filterd (m0279867.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63TKbKJq2855822\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 03:56:34 GMT", "from mail-dl1-f70.google.com (mail-dl1-f70.google.com\n [74.125.82.70])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dukrp2kqh-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 03:56:33 +0000 (GMT)", "by mail-dl1-f70.google.com with SMTP id\n a92af1059eb24-12c8de02a4dso2343006c88.1\n for <qemu-devel@nongnu.org>; Wed, 29 Apr 2026 20:56:33 -0700 (PDT)", "from hu-pbouvier-lv.qualcomm.com (Global_NAT1.qualcomm.com.\n [129.46.96.20]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12de32173acsm7159443c88.5.2026.04.29.20.56.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 20:56:31 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:message-id\n :mime-version:subject:to; s=qcppdkim1; bh=ITV3XFZr1YqC7EA6I0pAap\n LgFGypIr5+E8bzyniOPpg=; b=gzDCtYStSjLt2l1bN2LVfQ6LBdJGxSX2HtWsYX\n ssqmmoaW3ARN6EC1xgBZEAb6IXpizI+4aaNMyQLD33PVZVwJVUAFhKoDJ4LR4Q9m\n GMkcJgFqWCtN9RDGSu7adv0EUrSlKraVjkaMSyh9JKO8YXcS2JwVdnejBQ+gZWXj\n XsSR1oT5CABxIImr2jP8fBVnWP1SPTXyN5HnphFp+NfQDxUFvNL+vgt7cp+R0Iif\n GSz7qwS5FVzvLnUTeeWA5XeR7Enx6anx2KIxIAdI1WVr5rVFCPWm7XLD/JPYV44T\n u9PdDfodexnMrJqX7XzIKWYiCPL3sPQi253JwGum1A3bAmnw==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1777521393; x=1778126193; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=ITV3XFZr1YqC7EA6I0pAapLgFGypIr5+E8bzyniOPpg=;\n b=hsZshbVh/k1ClelDr+6DayUZVvq5Jp9M1YayPcz86Vp096vZMcyMueYByhUE6pAt7i\n lo4V7cj8gqOSfMOr3vQLxWkJPYodkbOre9RPab6hNyQGYli9GpTGpfk5/Phf86aUcWiY\n yw9+qnHYIuhTys2LBvguaQCONnigVgSsMvm4izEpzgP5AO2wlClc4qaYB4/+C1WJ+5Jg\n 8uvY2JOByaGYPBO8iPKBq2uRe1dNejEMkacY3MzKc0/xorYGcc4oBcpgQWXeIVPWDIDz\n XX2n7mWuTUQ5RFzG4kaqa0hZQViejBU3IrPTPJDesg5pzrysXwpTkJB5dY7MoYT0ZBrW\n LC8g==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777521393; x=1778126193;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=ITV3XFZr1YqC7EA6I0pAapLgFGypIr5+E8bzyniOPpg=;\n b=F8Ma0Gvv5nRQ+/XF3WDG8AJztjicxwhIwiNjnoYT6CF7uMhaEXJy7z+nnQS1IScO5a\n mWZe9nNg6coRJMUleSVRJoXCYmsAYx2Zejc/DIVST1JCXi2XqWPWlD/GXKpCcOcUAydB\n RNfI2JLUSuyY0d13dhtJOpv+yV2IUev143qBmbgJ28zu0YidXmwPprX/5YDu4QlpTcn9\n xjO8Wga6UmjIu22v2H9n0V2QPNVm8jc1SjhoYAlh6NVGEg1CMTypuv3HsSFd0so0Mji6\n PWTHZM89Rw0cb0cf3tIuEI2pYxKkGeV3GH4JCh7xiWPwHC4kEuXq2tRpObOfehDNY0xd\n QxEA==", "X-Gm-Message-State": "AOJu0YxoiLIkXnc9JbheOaWp2dfsdaOKbEVO7PLnLdVWKFQYF2Jenuir\n sI2J12SVzHb+Y/6m0LymGthwsXKxwTMPPbH5xR3j98ZRx/RPRzDyIcGndyx/CvEXCuxGO7VPbUy\n deACZEpw4IWHibattkurBEZSqfTJkMryplSuWUW5MKU2NuUlJKzfXI0UTtG1xYGbvUMsa", "X-Gm-Gg": "AeBDiesnqWJTMgmFuaaKoIWkxhwWrvmbWimCiETTp1K7UgHxpkeRQEzH5/lOTHt8irG\n SlQJzMchEP+9ZEdy+9O8lWPBtPV7r3+x4qRv4vWgJzKhwJ0zNj4mvG/VnM4EhLofKsvqKWNy/M7\n DZUzz2uAz6mXwGEWqXYxaGkjEUw/0O5p0CX9KOtDlKdAtl4xxB7Oof6ivXLMZO/b/qp7DGZRAef\n BA4Dy3El0h6wACL310Xksdai74TptWQ0oh7etlzPf8KP7wVbhQGdeYS7KlwtU6Pzf3OCAyQzkio\n dXAMpexCt6I9ET64DpnyOvU7XM5bmYbf04t/YfkFHeMOW3BdCyIJY0N1kAqBZevanG/UL9mOyP9\n CY5IF9TcpcfzlVnRaZGb/hWslQ9YsMF88cFcTemT4gb5eCitXylHZh5Jk/Fc7bhbtgYgodM9l5U\n oVaUQPtfBogvSb+2Qq", "X-Received": [ "by 2002:a05:7022:ea2a:b0:12d:de3e:cc00 with SMTP id\n a92af1059eb24-12dead2491cmr637273c88.39.1777521392815;\n Wed, 29 Apr 2026 20:56:32 -0700 (PDT)", "by 2002:a05:7022:ea2a:b0:12d:de3e:cc00 with SMTP id\n a92af1059eb24-12dead2491cmr637258c88.39.1777521392274;\n Wed, 29 Apr 2026 20:56:32 -0700 (PDT)" ], "From": "Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>", "To": "qemu-devel@nongnu.org", "Cc": "Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, =?utf-8?q?Philippe?=\n\t=?utf-8?q?_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Richard Henderson <richard.henderson@linaro.org>,\n Markus Armbruster <armbru@redhat.com>, Anton Johansson <anjo@rev.ng>,\n marcandre.lureau@redhat.com, Paolo Bonzini <pbonzini@redhat.com>,\n Max Filippov <jcmvbkbc@gmail.com>,\n =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>", "Subject": "[PATCH v2 0/7] single-binary: deduplicate target_info()", "Date": "Wed, 29 Apr 2026 20:56:19 -0700", "Message-ID": "<20260430035626.3511676-1-pierrick.bouvier@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.43.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "X-Proofpoint-ORIG-GUID": "20Z9BPD2ldmE2XnYPBmpNZIlSa2OvZi5", "X-Proofpoint-GUID": "20Z9BPD2ldmE2XnYPBmpNZIlSa2OvZi5", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDMwMDAzNiBTYWx0ZWRfX7WgR+by9FuPj\n nhLi733XC0zYyd/LJaf+JoLbtClYIP7uGhfn54IaEtcz631OduiDlGsfVIapdAddGGNfGv31HHy\n lOWJB9Hqm2d5zNawZejHlItP8kE6rywyW9wfYNjABEcluI2Y0j2nJ0TivtzQ6PvmXWCpi9CgAXR\n rugaIHwPQ/cGOYSibAdzXi6WhUiMJnA7ME8+vdopGh7kCiDV+0Y+EziES6whuhPsNd7NV7OWG4u\n KBA/NfWIQ7WkuNX1iKxHCCN1I+4zZ3+NJdWo/uWN2cX10jy5/WqbPMsHwyZJrSeos75zkF8O5Fg\n 8I0+5THmFicw/069B5C3i/KMuTvq1T+gIfiKAAlKyabMFLgHdtP1HbTIavtYfgD4LdCGHrRq64P\n YhoE7jUwHgSJnKbQKDzqktlha8divvEzZ5laexvK2m521hjNeeh41Jl76GrK5zmzkkNHjNolQbA\n kSpWfhJKs/fFQL9izwQ==", "X-Authority-Analysis": "v=2.4 cv=WoQb99fv c=1 sm=1 tr=0 ts=69f2d2f2 cx=c_pps\n a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22\n a=vL9XZpDnxUCI8HPV7P4A:9 a=QEXdDO2ut3YA:10 a=Kq8ClHjjuc5pcCNDwlU0:22", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-30_01,2026-04-28_01,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n clxscore=1015 phishscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0\n priorityscore=1501 spamscore=0 suspectscore=0 bulkscore=0 malwarescore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604300036", "Received-SPF": "pass client-ip=205.220.168.131;\n envelope-from=pierrick.bouvier@oss.qualcomm.com;\n helo=mx0a-0031df01.pphosted.com", "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", "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": "We are getting close to be able to link several targets in a single QEMU system\nbinary, and the last obstacle on the road is to embed several TargetInfo in the\nsame binary. The end result of this series is to have a single definition for\ntarget_info symbol.\n\nThis series adds TargetInfo types in QOM, and retrieve them dynamically(). At\nthe moment, we don't deal yet with multiple TargetInfo selection, but install\nall that is needed to be able to do it easily.\n\nBecause TargetInfo data is set through class_init, it creates an issue at\nstartup, where we may try to instantiate additional (unrelated) types just to\nretrieve the list of \"target-info-X\" types. Those other types class_init may be\nusing target information, to add target specific properties for instance.\nThis issue has been fixed by adding a new object_class_get_list_by_name_prefix\nthat does not force instantiation of all QOM types, but only those matching a\nspecific pattern. This way, we first initialize and retrieve target-info types\nbefore others.\n\nAn alternative would be to leave all this out of QOM, and use startup\ninitializer to add them in a single list. However, because all the single-binary\nwork has been using QOM where possible, it would be really sad to not use it for\nthis final step. Comments are welcome!\n\nFinally, sticking to our promise not create a special \"single-binary\nconfiguration\", the goal is to use the *exact* same codepath for normal binaries\nalso. It means that even for existing system binaries, the goal will be to use\nQOM to retrieve current target, even if there is only one.\n\nv2\n--\n\n- fix header guards\n- introduce new module init step (MODULE_INIT_TARGET_INFO)\n- as a consequence of item above, we need to register TYPE_OBJECT before startup\n- fix xtensa core type registration using type_init instead of static ctor\n\nPierrick Bouvier (7):\n target-info: extract target_info() definition in target-info-init.h\n target-info: introduce TargetInfo in QOM\n qom/object: register OBJECT and INTERFACE QOM types before main\n target/xtensa/core: register types using type_init\n system/vl: register target info types first in qom\n target-info-qom: detect target from QOM\n target-info: replace target_info() in system-mode\n\n configs/targets/aarch64-softmmu.c | 6 +--\n configs/targets/arm-softmmu.c | 6 +--\n include/qemu/module.h | 1 +\n include/qemu/target-info-init.h | 73 +++++++++++++++++++++++++++++++\n include/qemu/target-info-qom.h | 30 +++++++++++++\n qom/object.c | 4 +-\n system/vl.c | 5 +++\n target-info-qom.c | 35 +++++++++++++++\n target-info-stub.c | 6 +--\n target/xtensa/overlay_tool.h | 5 ++-\n 10 files changed, 154 insertions(+), 17 deletions(-)\n create mode 100644 include/qemu/target-info-init.h\n create mode 100644 include/qemu/target-info-qom.h" }