From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793269827; b=tlKUClyFnx66ktJyr01hDYNg0ikGw9nso8FBMTaXot4TFSdDovB0fCTBQIT4Mk5/fHm3 9STVWZOCVqRseMgKAU4//H1yHPIkFg4cjdCjbHmkImZxfwqhtR8qmUct+uF2c4kLTG3EH ZXPjOGY3LWbCSFYIX0UiPct+svMfueICoEchLpC3XzTWMXTZtEIsWx65HJYLDTLqdu/FG S8Zpm5NOPq8DPYUIxfoWNWiW88t14k4NTPd3TxLrJw+9p9U2Gy8k+qHImFM3gL1IcJrr8 SkMnDInt81wScL4yhgNwrh4QuN15/IfjamX/yxPl1KUJIPX6Z/25/Kri2romJ5FpjCw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793269827; 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=cAtddHWUPZrCBDhs0Y+44QLZfPLGxO3YxnP4tMoElZY=; b=QzQNcqJz2EqOnYS/OA6s2iiMn7pv5muviZjw7Xf83jE7EwCXiasIWvDtqRXaXLq3eGaZ tDV3NX3yYG7+rH7TslIWyy0ZOnNibfAulv6eObaW+nyzAWCdHqeKKOtJjGdQhtRIL1UpB 1/RHJ26Tp0s+8aQhe4Xc7zJ1U+GU1kmn79Ura05Wa413ahfYBW0+g1XhOo0s9XEMmGKDU EvQBdaSDcoH+yvc4QV0vCKB0xRFuc9lj7GOOuWu/RMO+bK3phh+RmA6OievH7kJeJhq70 IKugI9Z3/9T5W/X5J/XLOAqKRKxp4ujBL8jEPComYEKcnzkdA/bnqnC1AxFnJ5z3CEg== 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=RHJaO+mI; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 3A256606A31E for ; Thu, 29 Oct 2026 10:30:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3A256606A31E 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=RHJaO+mI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793269826; 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=cAtddHWUPZrCBDhs0Y+44QLZfPLGxO3YxnP4tMoElZY=; b=RHJaO+mISeHTk3J3i5P/aLernKDLHY1UaCYyfjtPm+Eh+EdG2PLBBO4sjZiGVqVo8JWY9i ZWDqxFz4OMoiQL31rqaM0I18NegDsg5c+VNcYd1S8zp7TwEgmNjbmIbbrnTJPt9HYAWd6l qRy/bQZSY/h5zY3pSHSDy9W6biOdodI= 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-651-31dn0k00OXi4Pkf-NALwaA-1; Thu, 29 Oct 2026 06:30:22 -0400 X-MC-Unique: 31dn0k00OXi4Pkf-NALwaA-1 X-Mimecast-MFC-AGG-ID: 31dn0k00OXi4Pkf-NALwaA_1793269818 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 9F9651801358; Thu, 29 Oct 2026 10:30:15 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.2]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7AAD23000735; Thu, 29 Oct 2026 10:30:11 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 1B5FA21E6A04; Thu, 29 Oct 2026 11:30:09 +0100 (CET) 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 61/65] qdev: remove deprecated PropertyInfo.type and .enum_table fields In-Reply-To: <20261020-qom-qapi-v7-61-431a86b02b58@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Tue, 20 Oct 2026 14:46:18 +0400") References: <20261020-qom-qapi-v7-0-431a86b02b58@redhat.com> <20261020-qom-qapi-v7-61-431a86b02b58@redhat.com> Date: Thu, 29 Oct 2026 11:30:09 +0100 Message-ID: <87ecd8dcjy.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 Re title: I think "deprecated" isn't the right word. Let's go with "unused", or maybe qdev: PropertyInfo.type and .enum_table are no longer used, drop Marc-Andr=C3=A9 Lureau writes: > Now that all PropertyInfo definitions use .qapi_type, remove the > legacy .type (string) and .enum_table fields from PropertyInfo, and > the .arrayinfo/.arrayfieldsize fields from Property. > > Remove fallback branches in qdev_property_add_static() and > qdev_class_add_property() that used object_property_add() with > prop->info->type: these always use the QAPI-aware registration > path now. Simplify qdev_propinfo_enum_lookup(), prop_array_info() > and prop_array_elem_size() to use the new fields directly. > > Signed-off-by: Markus Armbruster > Signed-off-by: Marc-Andr=C3=A9 Lureau