From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967144; cv=none; d=zohomail.com; s=zohoarc; b=kTGMOfYCcpc92h9VE/rkW+wYK/yKm6WlPFsEGNaGb0KzMKiNY5aWRD8m5gP9O5PeXtArLy7UuSnFY6wWhN/M/iCsI6UblUjcJd+RCXfQJPCtjTHp1uArExDYPkZab/wwnEwnwJW5Eis6Z+33NGUPCZU1y9lQckEkNcAN8ypq/C0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967144; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NtuxcqsDUd/e1mWvdb0co1wOr+Ge2UyLuy3MN4YTGAU=; b=T3q2L0sj/pYRRp+/bjs+d76StJfo/WoTPn9r3zd8uBYDwdiiE9+AYTacMf64GwBbGegrRBbaiRzEB2zPh4KUugM6CO88Iw3yrVLOzwlyldaG/xe7ZIcJqP1PZ7pF2tQ7arCZWeiLxKYD4jHMBPl+PJm5zO9FU+xDg20U5C8Nv5o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967144460392.2707367444308; Fri, 6 Nov 2026 04:12:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPInZ-00059U-RJ; Fri, 06 Nov 2026 07:12:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInR-00057u-Df for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInP-0006TV-6P for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:53 -0500 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-141-iyvnrOXKNiSp8NnhQia2_g-1; Fri, 06 Nov 2026 07:11:47 -0500 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 46EEE1800591; Fri, 6 Nov 2026 12:11:46 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DB4881956089; Fri, 6 Nov 2026 12:11:45 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 65F1621E692D; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NtuxcqsDUd/e1mWvdb0co1wOr+Ge2UyLuy3MN4YTGAU=; b=Xz7nSgTIZ2GCiK0UU/Q+ed4XpnVsQi3a34RSV6Xtzlg5K7gnAL5tWe/TQWSpa3BAQ8L08E Xtz7SLscFsirpjywLj5W7EdueUYrxN/pt3s1MwFDeiCOE/6SpN32jPQ2NXM1mBFVjnP3Ne IpX2rYllvMme6qjNQrLCpCHrBL/hv5A= X-MC-Unique: iyvnrOXKNiSp8NnhQia2_g-1 X-Mimecast-MFC-AGG-ID: iyvnrOXKNiSp8NnhQia2_g_1793967106 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PULL 1/6] qapi: Consistently use x.y with since Date: Fri, 6 Nov 2026 13:11:38 +0100 Message-ID: <20261106121143.3771978-2-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967145910158500 docs/devel/qapi-code-gen.rst documents "Since: x.y.z" and "(since x.y.z)", but we almost always use just x.y. Makes sense, because .z is exclusively for stable branches, where we generally don't mess with QAPI schemas. Adjust the doc and the exceptions to the ruling practice. Do not touch versions prior to 3.0.0, because .z was not for stable branches back then. Signed-off-by: Markus Armbruster Message-ID: <20261103073311.3501327-1-armbru@redhat.com> Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/devel/qapi-code-gen.rst | 4 ++-- docs/interop/firmware.json | 4 ++-- qapi/accelerator.json | 6 +++--- qapi/crypto.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst index fc3a1dd6d8..31afcb7805 100644 --- a/docs/devel/qapi-code-gen.rst +++ b/docs/devel/qapi-code-gen.rst @@ -1001,7 +1001,7 @@ indented like this:: .. FIXME union branches should be described, too. =20 Extensions added after the definition was first released carry a -"(since x.y.z)" comment. +"(since x.y)" comment. =20 The feature descriptions must be preceded by a blank line and then a line "Features:", like this:: @@ -1034,7 +1034,7 @@ detailing a relevant error condition. For example:: # - If @device does not exist, DeviceNotFound # - Any other error returns a GenericError. =20 -A "Since: x.y.z" tagged section lists the release that introduced the +A "Since: x.y" tagged section lists the release that introduced the definition. =20 "TODO" sections are not rendered (they are for developers, not users of diff --git a/docs/interop/firmware.json b/docs/interop/firmware.json index 1efd32c631..c8bf0ef1a1 100644 --- a/docs/interop/firmware.json +++ b/docs/interop/firmware.json @@ -283,7 +283,7 @@ # and can be shared between multiple guests. No NVRAM template # will be specified. # -# Since: 7.0.0 +# Since: 7.0 ## { 'enum': 'FirmwareFlashMode', 'data': [ 'split', 'combined', 'stateless' ] } @@ -296,7 +296,7 @@ # # @mode: Describes how the firmware build handles code versus variable # storage. If not present, it must be treated as if it was -# configured with value @split. Since: 7.0.0 +# configured with value @split. (Since: 7.0) # # @executable: Identifies the firmware executable. The @mode # indicates whether there will be an associated NVRAM template diff --git a/qapi/accelerator.json b/qapi/accelerator.json index efc0fa8141..e422fc7ee6 100644 --- a/qapi/accelerator.json +++ b/qapi/accelerator.json @@ -78,7 +78,7 @@ # # @xen: Xen # -# Since: 10.2.0 +# Since: 10.2 ## { 'enum': 'Accelerator', 'data': ['hvf', 'kvm', 'mshv', 'nvmm', 'qtest', '= tcg', 'whpx', 'xen'] } =20 @@ -91,7 +91,7 @@ # @present: the list of accelerators that are built into this # executable # -# Since: 10.2.0 +# Since: 10.2 ## { 'struct': 'AcceleratorInfo', 'data': {'enabled': 'Accelerator', 'present= ': ['Accelerator']} } =20 @@ -101,7 +101,7 @@ # # Returns: @AcceleratorInfo # -# Since: 10.2.0 +# Since: 10.2 # # .. qmp-example:: # diff --git a/qapi/crypto.json b/qapi/crypto.json index a8d753d360..0fd1af1b68 100644 --- a/qapi/crypto.json +++ b/qapi/crypto.json @@ -57,7 +57,7 @@ # # @ripemd160: RIPEMD-160. (since 2.7) # -# @sm3: SM3. (since 9.2.0) +# @sm3: SM3. (since 9.2) # # Since: 2.6 ## --=20 2.55.0 From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967143; cv=none; d=zohomail.com; s=zohoarc; b=HC5uuLT5eTM81y3cGAXiPrBl2RN5MGOAuAFtqVQaMD09aHu5CCy9CSXvqnBaUsejUkkxWNfDh/yMYFmCmS08Lu1ZwDfBRxxhWJyNaoDGW/ewscuphwGGbLCglae7PKV2CANDTtuSbeMugyQJkJ3m10Yc5dQc0uQZQOzOCFM0NJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967143; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=wGLAsdDw4nAPqPD9zOj1MBs0qKSRFtzDX/FU5D09cdM=; b=IiBt2+KmNK5aH4X3m5IEH0WUQ2IZJmiArNcJ+AYxvdeHPQkZhyGcXcchBZ0BIr47EREK56e3lyr87gyAgbUSgHfdN8jAtpCCuHutNqztqtW8hb4i+MPuUmOOzX5Jh0mZYF/qPlBRrggIKXwFDY8a65B55jGgkd6PIwDmTotL8Cs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967143919721.2894173294131; Fri, 6 Nov 2026 04:12:23 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPInU-00058R-BG; Fri, 06 Nov 2026 07:11:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInP-00057T-UV for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInO-0006TJ-IB for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:51 -0500 Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-692-oDaT9lu0PKu3h_08Y0UkFg-1; Fri, 06 Nov 2026 07:11:47 -0500 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 412F61955F44; Fri, 6 Nov 2026 12:11:46 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D2EA926C; Fri, 6 Nov 2026 12:11:45 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 6AC2721E6880; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wGLAsdDw4nAPqPD9zOj1MBs0qKSRFtzDX/FU5D09cdM=; b=S/b3v4G9rBk/XbrsCJ2PnbraMYyeqvfwvMAZ5fghyuFYxdGo5L8oTcB2EgZOFcTIyZ+fNb bCWqUcxtlLfXA2Go7eVPqlyPp0M1Nn/JWSgrUBdYBV8qKv9uDOF6DsHFGIzUolFuLiKazl C73pJMr+BLodHh58soi2n0NLNk81jGw= X-MC-Unique: oDaT9lu0PKu3h_08Y0UkFg-1 X-Mimecast-MFC-AGG-ID: oDaT9lu0PKu3h_08Y0UkFg_1793967106 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 2/6] target/riscv: Fix up PropertyInfo to set @qapi_type Date: Fri, 6 Nov 2026 13:11:39 +0100 Message-ID: <20261106121143.3771978-3-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967145988158500 When we recently updated PropertyInfo to set @qapi_type, we missed one. Update it now. Fixes: 07458a910f7b ("target/riscv: convert PropertyInfo definitions to use= qapi_type") Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20261105080310.1656968-2-armbru@redhat.com> --- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 362e561809..15c27f4ce4 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -2075,6 +2075,7 @@ static void prop_vlen_get(Object *obj, Visitor *v, co= nst char *name, =20 static const PropertyInfo prop_vlen =3D { .type =3D "uint16", + .qapi_type =3D &uint16_type_info, .description =3D "vlen", .get =3D prop_vlen_get, .set =3D prop_vlen_set, --=20 2.55.0 From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967214; cv=none; d=zohomail.com; s=zohoarc; b=ZAtGusJgkNgxXL1nWpObTYFEZEcrRZZocAtFMgq/6qNenxaRESEqiU09sH/TXQKmvYvtmFobbKhuN581+twXKjOYE2mB1NKbaj71BXJCU10OG833JIsJI0tM1oA9DQh16dc4YgZYGOJOuKec1ODWuLeJnCtBbCl41f9QECQrN+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967214; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NNzufaZj3mm7l4VJn85TCSw+o7Lu+0B51iurFwEJ77Q=; b=Zsbgn40vWz92m1zIG6CkCdAVzuNRj2XhG5XMsVmfxIHBaZ3HBbZtRxUNGsFL7plSXupccBstzJGyE1anTSQ+ffHuueCu6Ha2le/3koV9syPH02lXoCXIGM9EwOsHtNFrlFWfvVrSKWycJtqSn5zuahikAumFhWdeDqaerwq6BoU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967214963882.4221824591793; Fri, 6 Nov 2026 04:13:34 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPInf-0005Ae-Dn; Fri, 06 Nov 2026 07:12:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInR-00057s-7j for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInO-0006TM-Ik for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:52 -0500 Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-385-LhY3zq34Pluua7yJPn5ZIA-1; Fri, 06 Nov 2026 07:11:47 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3799D1956061; Fri, 6 Nov 2026 12:11:46 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BBDDE18004D2; Fri, 6 Nov 2026 12:11:45 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 6F54121E6882; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NNzufaZj3mm7l4VJn85TCSw+o7Lu+0B51iurFwEJ77Q=; b=Y3L1LXoBaAXP41TeMw6TT6p4mEiTYg0Pnwt+liI/CbD7cADcGWIUZ77to+BKo0pz6jYt/2 seZqPVMoekXY4Lp8J7rln9ITV4xkgpZSAQ/GVIiWWJlJ91VQSu6UPynmhUenvvSwuKI6ET vJieBXIwnGE9qepTYYTp3rJIuBnmQGc= X-MC-Unique: LhY3zq34Pluua7yJPn5ZIA-1 X-Mimecast-MFC-AGG-ID: LhY3zq34Pluua7yJPn5ZIA_1793967106 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Glenn Miles Subject: [PULL 3/6] hw/gpio/pca9552: Fix @type of pca9552 property led Date: Fri, 6 Nov 2026 13:11:40 +0100 Message-ID: <20261106121143.3771978-4-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967216860158500 pca955x_initfn() passes @type "bool" to object_property_add(). The properties are actually string-typed: pca955x_get_led() and pca955x_set_led() use visit_type_str(). Pass "str" instead. Fixes: a90d8f84674d ("misc/pca9552: Add qom set and get") Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Glenn Miles Message-ID: <20261105080310.1656968-3-armbru@redhat.com> --- hw/gpio/pca9552.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/gpio/pca9552.c b/hw/gpio/pca9552.c index 7e5fda4980..07ef0fb20b 100644 --- a/hw/gpio/pca9552.c +++ b/hw/gpio/pca9552.c @@ -567,7 +567,7 @@ static void pca955x_initfn(Object *obj) if (k->has_led_support) { /* LED variant: expose the LED selector state as led%d. */ name =3D g_strdup_printf("led%d", ix); - object_property_add(obj, name, "bool", NULL, + object_property_add(obj, name, "str", NULL, pca955x_get_led, pca955x_set_led, NULL, NU= LL); } else { /* GPIO variant: expose the pin logic level as pin%d. */ --=20 2.55.0 From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967166; cv=none; d=zohomail.com; s=zohoarc; b=Yq47qFeFybhSF3BM9Z43411ePvnTJJ9mFtXDGvyEAAc6JvdAavye15k5DnToOysyiNuK426igZAHLIR1092kzdk5xaARMNyyGPqfBAcgOZ5gTzyT2zNJccoQMXQlxcozZlpEYkf/G59Cd1632WjL63+19PV+18ZLkm/zWy/uNkc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967166; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=TqMyCG8RBiZntbUqAdApdvSi4XJl5NKaD17uMnCOqKg=; b=jDs32Rw2DCLGODJ52ke+8Rg4y1BvuVKPhFpBmTnG1IE0PuYWWSvG0TczjG796+KWmUlCOgM3yn7Ciu9QjFpyKbeT+gvaNItPVbNQ12irEJNkY3VSCI/tp7s6IJXB1iiYpfi+OxOMTuDQYiuxHA7aTczw7IPZ3hKtPwnD9yBkQ90= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967166009485.36933650662013; Fri, 6 Nov 2026 04:12:46 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPIno-0005D7-El; Fri, 06 Nov 2026 07:12:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInQ-00057U-4S for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInO-0006TK-Iq for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:51 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-226-6IaRmz-jOIqcuKg3Oq9DIg-1; Fri, 06 Nov 2026 07:11:47 -0500 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 601D91956051; Fri, 6 Nov 2026 12:11:46 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id F2B501684; Fri, 6 Nov 2026 12:11:45 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 73B3D21E6883; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TqMyCG8RBiZntbUqAdApdvSi4XJl5NKaD17uMnCOqKg=; b=D/tU9anKlnzrUonf+G+Lwg1XnxMtlK89LLGxfOYdG0TirCKy+r30VjAikWbQAMbn9/myKO LU8QeNYy+jD5X2UYS/o0oXsld48H7BQgUsQWBY09zW2d25jHQIWrn1pf+/2ujRN7Q575Eh cJdXkOUKPDmLeG8s11ripbJ2kXwjQGA= X-MC-Unique: 6IaRmz-jOIqcuKg3Oq9DIg-1 X-Mimecast-MFC-AGG-ID: 6IaRmz-jOIqcuKg3Oq9DIg_1793967106 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 4/6] hw: Fix up PropertyInfo to set @qapi_type Date: Fri, 6 Nov 2026 13:11:41 +0100 Message-ID: <20261106121143.3771978-5-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01 autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967168248158500 When we recently updated PropertyInfo to set @qapi_type, we missed a few. Update them now. Fixes: 04dc2fe4d463 ("hw: convert device-local PropertyInfo definitions to = use qapi_type") Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20261105080310.1656968-4-armbru@redhat.com> --- hw/gpio/pca9552.c | 5 +++-- hw/gpio/pca9554.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/gpio/pca9552.c b/hw/gpio/pca9552.c index 07ef0fb20b..90ccf5170e 100644 --- a/hw/gpio/pca9552.c +++ b/hw/gpio/pca9552.c @@ -23,6 +23,7 @@ #include "hw/core/irq.h" #include "migration/vmstate.h" #include "qapi/error.h" +#include "qapi/qapi-builtin-type-infos.h" #include "qapi/visitor.h" #include "trace.h" #include "qom/object.h" @@ -567,12 +568,12 @@ static void pca955x_initfn(Object *obj) if (k->has_led_support) { /* LED variant: expose the LED selector state as led%d. */ name =3D g_strdup_printf("led%d", ix); - object_property_add(obj, name, "str", NULL, + object_property_add(obj, name, "str", &str_type_info, pca955x_get_led, pca955x_set_led, NULL, NU= LL); } else { /* GPIO variant: expose the pin logic level as pin%d. */ name =3D g_strdup_printf("pin%d", ix); - object_property_add(obj, name, "str", NULL, + object_property_add(obj, name, "str", &str_type_info, pca955x_get_pin, pca955x_set_pin, NULL, NU= LL); } g_free(name); diff --git a/hw/gpio/pca9554.c b/hw/gpio/pca9554.c index 0dd063f93a..07bb00babf 100644 --- a/hw/gpio/pca9554.c +++ b/hw/gpio/pca9554.c @@ -16,6 +16,7 @@ #include "hw/core/irq.h" #include "migration/vmstate.h" #include "qapi/error.h" +#include "qapi/qapi-builtin-type-infos.h" #include "qapi/visitor.h" #include "trace.h" #include "qom/object.h" @@ -280,8 +281,8 @@ static void pca9554_initfn(Object *obj) char *name; =20 name =3D g_strdup_printf("pin%d", pin); - object_property_add(obj, name, "str", NULL, pca9554_get_pin, - pca9554_set_pin, + object_property_add(obj, name, "str", &str_type_info, + pca9554_get_pin, pca9554_set_pin, NULL, NULL); g_free(name); } --=20 2.55.0 From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967231; cv=none; d=zohomail.com; s=zohoarc; b=ThgcRecNdr6Bv4mVhI5tjeNJUN26iCGxS43bau9oL7/DW/4IofnnB9Sfn4Q1Z7xA1A8rR6KhjFJ4K21u5ffFHURznGT0ZoYwsex8X8eswF1H1ao9D72rM4xQ6WUhzQk8ydGDwQvQ0BANTWpv73MqIy13vfIFKC8bJ7fLPZXoth0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967231; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+mNnHx4BNYLw7ZUrHlWDyIq1yaRYtOs1Z+3L+KgrMzw=; b=KEPAgyGdrzrES+ZM7USWqtZBuurF9bLVXVy/3e7n8EnqaOn5O1S5amV4m1TiS7KRIOhirBQ0ioVgf1l5/NNoS3EjpzLDTc2uAIwW4JwfANj4muDMEVQJfwDgM25EwlU5HfT0l6uESHk0SjJ07iaXs8ABOFQj92sAO6FEzJWzjf0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967231856777.376797288524; Fri, 6 Nov 2026 04:13:51 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPInm-0005CG-Ft; Fri, 06 Nov 2026 07:12:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInT-00058X-JC for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:56 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInS-0006UB-2K for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:55 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-1-Jij5t6nnNdeEsBC_qX594Q-1; Fri, 06 Nov 2026 07:11:50 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 066121956068; Fri, 6 Nov 2026 12:11:49 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BA5351848D40; Fri, 6 Nov 2026 12:11:48 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 77E1D21E6884; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+mNnHx4BNYLw7ZUrHlWDyIq1yaRYtOs1Z+3L+KgrMzw=; b=fQlmmDDyA3jHdoXHQSl+0ZSBF8QvQ2grnT2NBJIyvfbWZwoNtma/IdwTuZAOPIsbvhUxLB OO4+XledFiwqKt/lPmjTjssxjqxjuVZY1boI3UJWE+m6UrPMQf9M4BdoNj9v5hbFe3cHW/ jXk4ApjuhYlZKkuMt2XTsGbh+nDwzS8= X-MC-Unique: Jij5t6nnNdeEsBC_qX594Q-1 X-Mimecast-MFC-AGG-ID: Jij5t6nnNdeEsBC_qX594Q_1793967109 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 5/6] qom: Convert alias properties to QAPI-aware registration Date: Fri, 6 Nov 2026 13:11:42 +0100 Message-ID: <20261106121143.3771978-6-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967233104158500 Pass the target property's QAPITypeInfo to object_class_property_add() / object_property_add(). Commit 53c674710b4 (qom: add qapi_type field to ObjectProperty) already monkey-patched it in object_property_add_alias(), but not in object_class_property_add_alias(). Delete that. Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20261105080310.1656968-5-armbru@redhat.com> --- qom/object.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qom/object.c b/qom/object.c index cd0590c3fd..774a976c8b 100644 --- a/qom/object.c +++ b/qom/object.c @@ -3099,13 +3099,13 @@ object_property_add_alias(Object *obj, const char *= name, prop->target_name =3D g_strdup(target_name); prop->flags =3D 0; =20 - op =3D object_property_add(obj, name, prop_type, NULL, + op =3D object_property_add(obj, name, prop_type, + target_prop->qapi_type, property_get_alias, property_set_alias, property_release_alias, prop); op->resolve =3D property_resolve_alias; - op->qapi_type =3D target_prop->qapi_type; if (target_prop->defval) { op->defval =3D qobject_ref(target_prop->defval); } @@ -3144,7 +3144,8 @@ object_class_property_add_alias(ObjectClass *klass, c= onst char *name, prop->target_name =3D g_strdup(target_name); prop->flags =3D OBJ_PROP_ALIAS_CLASS; =20 - op =3D object_class_property_add(klass, name, prop_type, NULL, + op =3D object_class_property_add(klass, name, prop_type, + target_prop->qapi_type, property_get_alias, property_set_alias, property_release_alias, --=20 2.55.0 From nobody Mon Nov 23 04:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1793967210; cv=none; d=zohomail.com; s=zohoarc; b=nAZI4LF7ZC5PQzwKe2ouvluLRnj2yI0EOmqYVd5Zeg26FO9zax+RakscfeUHBEjapf/aDh03OqNcyodbcODMb5zC9SDZiEjRN8lSapewEFq4uRj5F2oIxxvqIqGzHCgpWB+0K26ZsGHrKERihG5IcXbAP69w3Usfqn7XmEaRhnU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793967210; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=7Kvsei8mb6ZYLzqPBeGIaDqNgytMYWNeC87lKQB99iM=; b=csfgVRP/1C/pTRsqsERI37C2myKrFs2Ge9R0JP6PVlM0GXrGE+6G1dpIeTiSoFBlF27+fuknRqPrb0lqlcEYDR/X3MZHbQ9CHNqIR27EDgCWnu6+hB/urnWfpLDHafIXzY8A+l4ozkCUeCYVvTIemsEUB2+AARehbNRW9AfmGjc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793967210006947.5736952411986; Fri, 6 Nov 2026 04:13:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xPInm-0005CT-GR; Fri, 06 Nov 2026 07:12:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInT-00058W-IW for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:56 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xPInS-0006UC-1a for qemu-devel@nongnu.org; Fri, 06 Nov 2026 07:11:55 -0500 Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-1-IT0T2QYXNDaNu0D_d8gbLg-1; Fri, 06 Nov 2026 07:11:50 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1FE981955EAD; Fri, 6 Nov 2026 12:11:49 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D32EE1956047; Fri, 6 Nov 2026 12:11:48 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 7BE6321E6885; Fri, 06 Nov 2026 13:11:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793967114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7Kvsei8mb6ZYLzqPBeGIaDqNgytMYWNeC87lKQB99iM=; b=SpKlUlo154mSysHpBDpzOEWAzM/hN7BuaSeCdDNoazAWIlervfSaOaeLb3iBLDb2piQBzb YDndO4jWPTAHP7nQv8yg6SCbKKP6sj3dKPH9Ptx5wXWBh1ucCN1z5LgSYs1cKaFZ44fcuf BBd8vCRROjfcMRoSdgmVpC/wd5sJYbM= X-MC-Unique: IT0T2QYXNDaNu0D_d8gbLg-1 X-Mimecast-MFC-AGG-ID: IT0T2QYXNDaNu0D_d8gbLg_1793967109 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 6/6] qom: Convert child and link properties to QAPI-aware registration Date: Fri, 6 Nov 2026 13:11:43 +0100 Message-ID: <20261106121143.3771978-7-armbru@redhat.com> In-Reply-To: <20261106121143.3771978-1-armbru@redhat.com> References: <20261106121143.3771978-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1793967210759158500 Child and link properties get serialized as QOM paths, i.e. as strings. Use &str_type_info for them. Signed-off-by: Markus Armbruster Message-ID: <20261105080310.1656968-6-armbru@redhat.com> Reviewed-by: Marc-Andr=C3=A9 Lureau --- qom/object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qom/object.c b/qom/object.c index 774a976c8b..9276b7a435 100644 --- a/qom/object.c +++ b/qom/object.c @@ -1914,7 +1914,7 @@ object_property_try_add_child(Object *obj, const char= *name, =20 type =3D g_strdup_printf("child<%s>", object_get_typename(child)); =20 - op =3D object_property_try_add(obj, name, type, NULL, + op =3D object_property_try_add(obj, name, type, &str_type_info, object_get_child_property, NULL, object_finalize_child_property, child, errp); @@ -2109,7 +2109,7 @@ object_add_link_prop(Object *obj, const char *name, =20 full_type =3D g_strdup_printf("link<%s>", type); =20 - op =3D object_property_add(obj, name, full_type, NULL, + op =3D object_property_add(obj, name, full_type, &str_type_info, object_get_link_property, check ? object_set_link_property : NULL, object_release_link_property, @@ -2146,7 +2146,7 @@ object_class_property_add_link(ObjectClass *oc, =20 full_type =3D g_strdup_printf("link<%s>", type); =20 - op =3D object_class_property_add(oc, name, full_type, NULL, + op =3D object_class_property_add(oc, name, full_type, &str_type_info, object_get_link_property, check ? object_set_link_property : NULL, object_release_link_property, --=20 2.55.0