From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792593927; b=nH7Ym0T+mf4boMpLtgNMqo/uVPD3i4z/sTPewyQddPMsACKzQfX5v7HE+qg2SehzCjoK sJ7R1b4ECwsq333eDIOMBAXl2Ra/7fbMHuInG05mJ6DFg5PPkn/jKhNByYThfQMdSFjdg X+jpqxPmEgxVjPlbJ7ogyaTP2gh7S+/2IZcfTYXuU3qrm0glTV/CoKVqZLRLmd6+eHU+t 6tYdsL3aVKBtDpLhvLK8tdR61Y8mEvdSJvZ4FWn3XRyZwVFaFXQPi1vvbMnvfSujhEnDq 7D0p1F+dDv4hQ35dCeoCG6hAHRKKj1J0fLDRAp6QWBKqJzdkQ4+5pd854Vt9bXk9MUQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792593927; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:Received:From:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Scanned-By; bh=JDM0WUBiT+rQ0E9Y++3yExU/xhUlliEDnE5RqvGKgRs=; b=sMacG/gtN4hjq0tCUpm/h/oBCp0guB5H//UYSkJRcAeLj9m3rCA+uWzqlTAAwX9m0Br0 JktnqoCXsRWm8jV1kk712vi8Mpkcj+qs/6qeYV293ej43YKi4L6P/HpO7nVxFzuPbPAvx grF1c73O6R0cLqqVNtqMAH83tpNZGT54LnpLLwXHJnESssVlBFXH37oR6TnHoacNod6w+ TkJxENWSadR+PS127s7xsm3n4oXRWdiTgLT+Dt3NPb4/b78bTfTZByT7bqV7ROvEZeWRK v1eojSAEFpo/UBIy+4aMm5td3QIc+2KK6za7mrru8dic7K1JWFaYMDcvK7s+uUKf3gg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=C37bbNz6; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F01E606A31A for ; Wed, 21 Oct 2026 14:45:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4F01E606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=C37bbNz6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792593926; 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=JDM0WUBiT+rQ0E9Y++3yExU/xhUlliEDnE5RqvGKgRs=; b=C37bbNz6wMSkPQsgrfx68LjR0f81GgUfJiDywsZgD4J1OeWf7qjvg5h/qHPnqOej5XgYKi Z0OqeNavuSV7eULBtQcAspmk8v7wLMDUAzJD3tnSDC3+i+Yp9l1tU0VC9tT27qIa+I5faR TYMpuseS3wCK/hRFN/yaHjSlqyydKT0= Received: from mx-prod-mc-08.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-44-697RRaHWMcyjyp9VUObGAw-1; Wed, 21 Oct 2026 10:45:22 -0400 X-MC-Unique: 697RRaHWMcyjyp9VUObGAw-1 X-Mimecast-MFC-AGG-ID: 697RRaHWMcyjyp9VUObGAw_1792593918 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0D26B18007EA; Wed, 21 Oct 2026 14:45:15 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.5]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 82B9030002CB; Wed, 21 Oct 2026 14:45:09 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 23A7921E6A04; Wed, 21 Oct 2026 16:45:07 +0200 (CEST) From: Markus Armbruster To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org, Michael Roth , John Snow , Peter Maydell , Mauro Carvalho Chehab , Pierrick Bouvier , Paolo Bonzini , Daniel P. =?utf-8?Q?Berrang=C3=A9?= , Kostiantyn Kostiuk , Eric Blake , David Hildenbrand , Igor Mammedov , "Edgar E. Iglesias" , Jason Wang , Marcelo Tosatti , kvm@vger.kernel.org, Alberto Garcia , Kevin Wolf , Hanna Reitz , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Zhao Liu , Jonathan Cameron , Junjie Cao , Anisa Su , Elena Ufimtseva , Jagannathan Raman , John Levon , Thanos Makatos , =?utf-8?Q?C=C3=A9dric?= Le Goater , Cornelia Huck , Eric Farman , Matthew Rosato , Richard Henderson , Ilya Leoshkevich , qemu-block@nongnu.org, linux-cxl@vger.kernel.org, qemu-s390x@nongnu.org, "Michael S. Tsirkin" , Sergio Lopez , qemu-arm@nongnu.org, Palmer Dabbelt , Alistair Francis , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , Chao Liu , qemu-riscv@nongnu.org, Song Gao <17746591750@163.com>, Bibo Mao , Xianglai Li , Jiaxun Yang , Pedro Barbuda , Mohamed Mediouni , Nicholas Piggin , Harsh Prateek Bora , Amit Machhiwal , qemu-ppc@nongnu.org, Zhang Chen , Li Zhijian , Alistair Francis , Alexander Graf , "Gonglei (Arei)" , zhenwei pi , Ani Sinha , Luc Michel , =?utf-8?Q?C=C3=A9dric?= Le Goater , Jamin Lin , Kane Chen , Samuel Tardieu , "Denis V. Lunev" , FangSheng Huang , Tyrone Ting , Hao Wu , Keith Busch , Klaus Jensen , Jesper Devantier , Aditya Gupta , Glenn Miles , Conor Dooley , Sebastian Huber , Halil Pasic , Christian Borntraeger , Jason Herne , Titus Rwantare , Stefano Stabellini , Anthony PERARD , Peter Xu , Chinmay Rath , Hendrik Brueckner , xen-devel@lists.xenproject.org, Roman Bolshakov , Phil Dennis-Jordan , Fam Zheng , Farhan Ali , Alex Williamson , Tao Tang , Stefan Berger , Fabiano Rosas , Mark Cave-Ayland , Artyom Tarasenko , Yoshinori Sato , Jiri Pirko , Eric Auger , Laurent Vivier Subject: Re: [PATCH v7 60/65] qdev: simplify DEFINE_PROP_ARRAY and remove generic array PropertyInfo In-Reply-To: <20261020-qom-qapi-v7-60-431a86b02b58@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Tue, 20 Oct 2026 14:46:17 +0400") References: <20261020-qom-qapi-v7-0-431a86b02b58@redhat.com> <20261020-qom-qapi-v7-60-431a86b02b58@redhat.com> Date: Wed, 21 Oct 2026 16:45:07 +0200 Message-ID: <878q3rm7t8.fsf@pond.sub.org> User-Agent: Gnus/5.13 (Gnus v5.13) X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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.4 Marc-Andr=C3=A9 Lureau writes: > Change DEFINE_PROP_ARRAY, the macro now uses _arrayprop##_list to > resolve the typed list PropertyInfo (introduced in the previous patch) > instead of the generic qdev_prop_array. > > This means the element type and size information is carried by the > PropertyInfo itself rather than duplicated at each callsite. Since > the typed list PropertyInfos encode element_info and element_size, > the .arrayinfo and .arrayfieldsize fields are no longer set by the > macro (they will be removed from the Property struct in the next patch). > > Remove qdev_prop_array, which is now unused. > > Signed-off-by: Markus Armbruster > Signed-off-by: Marc-Andr=C3=A9 Lureau I see the type of "gicv5" property "cpus" change from "list", which lazy bad, to "linkList, which is confused bad.