From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60CB7CA5FA3 for ; Mon, 28 Sep 2026 19:27:58 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xBH06-0004D4-El; Mon, 28 Sep 2026 15:26:58 -0400 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 1xBGzo-0003yz-S0 for qemu-devel@nongnu.org; Mon, 28 Sep 2026 15:26:44 -0400 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 1xBGzm-00037o-RF for qemu-devel@nongnu.org; Mon, 28 Sep 2026 15:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790623597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+taCmet8e4tRrh7lLcShEJiqNzNQVkUG+njCnk/OJJE=; b=AwB6dqarPR9yuMy+iO/D9/XPFvpng4UWpoa3fktyw3f/IBAsK3zXZas15oINt3Lih6GA0F EC6V/E+CgC1rqhibZrwQES9V5iIxLiMpWKHVMpA4NgK559eMYAuZI7fe8vMZOMJ+vD1iMy qx3HS8CGRO1Pya8/THuCkHOYyrK9Vbk= 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-320-S3DDhmZdPo-lHbmiuukZ3Q-1; Mon, 28 Sep 2026 15:26:34 -0400 X-MC-Unique: S3DDhmZdPo-lHbmiuukZ3Q-1 X-Mimecast-MFC-AGG-ID: S3DDhmZdPo-lHbmiuukZ3Q_1790623592 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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D3F5F1800BCB; Mon, 28 Sep 2026 19:26:32 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.217]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 039215BC; Mon, 28 Sep 2026 19:26:29 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: Zhao Liu , Igor Mammedov , Vladimir Sementsov-Ogievskiy , Jason Wang , Eric Blake , Markus Armbruster , Paolo Bonzini , Hanna Reitz , Ani Sinha , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Fabiano Rosas , Peter Xu , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Kevin Wolf , "Michael S. Tsirkin" , qemu-block@nongnu.org, John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 09/10] qapi: split intro sections for data structs Date: Mon, 28 Sep 2026 15:25:56 -0400 Message-ID: <20260928192557.509157-10-jsnow@redhat.com> In-Reply-To: <20260928192557.509157-1-jsnow@redhat.com> References: <20260928192557.509157-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 Received-SPF: pass client-ip=170.10.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.238, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org The structs of concern in this patch are those for which no other QAPI definition (currently) uses as a data type to describe its own arguments or as a branch of a union: i.e. they are not currently eligible to be inlined and as such the precise semantics of their intro/details split is *currently* of less concern. Of course, they could be inlined in the future, so the semantics of this split are still worth investigating. Signed-off-by: John Snow --- qapi/acpi.json | 3 +-- qapi/block-core.json | 5 ++--- qapi/compat.json | 5 ++--- qapi/machine.json | 9 ++++----- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/qapi/acpi.json b/qapi/acpi.json index 291a04a7ea4..82e82d7cf89 100644 --- a/qapi/acpi.json +++ b/qapi/acpi.json @@ -13,8 +13,7 @@ ## # @AcpiTableOptions: -# -# Specify an ACPI table on the command line to load. +# Specify an ACPI table on the command line to load. # # At most one of @file and @data can be specified. The list of files # specified by any one of them is loaded and concatenated in order. diff --git a/qapi/block-core.json b/qapi/block-core.json index 13981d7e69d..741c8165c06 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -843,9 +843,8 @@ ## # @BlockMeasureInfo: -# -# Image file size calculation information. This structure describes -# the size requirements for creating a new image file. +# Image file size calculation information. This structure +# describes the size requirements for creating a new image file. # # The size requirements depend on the new image file format. File # size always equals virtual disk size for the 'raw' format, even for diff --git a/qapi/compat.json b/qapi/compat.json index a512c77ffd8..0f90ea1f524 100644 --- a/qapi/compat.json +++ b/qapi/compat.json @@ -53,10 +53,9 @@ ## # @CompatPolicy: +# Policy for handling deprecated management interfaces. # -# Policy for handling deprecated management interfaces. -# -# This is intended for testing users of the management interfaces. +# This is intended for testing users of the management interfaces. # # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged # with feature 'deprecated' or 'unstable'. We may want to extend it diff --git a/qapi/machine.json b/qapi/machine.json index 75cbeca185f..d09424b8701 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1634,9 +1634,9 @@ ## # @SMPConfiguration: -# -# Schema for CPU topology configuration. A missing value lets QEMU -# figure out a suitable value based on the ones that are provided. +# Schema for CPU topology configuration. A missing value lets +# QEMU figure out a suitable value based on the ones that are +# provided. # # The members other than @cpus and @maxcpus define a topology of # containers. @@ -1895,8 +1895,7 @@ ## # @CpuModelInfo: -# -# Virtual CPU model. +# Virtual CPU model. # # A CPU model consists of the name of a CPU definition, to which delta # changes are applied (e.g. features added/removed). Most magic -- 2.55.0