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 95837C88E53 for ; Fri, 11 Sep 2026 20:32:29 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x57um-00028n-UL; Fri, 11 Sep 2026 16:32:05 -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 1x57ts-0001Pd-6E for qemu-devel@nongnu.org; Fri, 11 Sep 2026 16:31:11 -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 1x57tp-0005EV-Vd for qemu-devel@nongnu.org; Fri, 11 Sep 2026 16:31:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1789158665; 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=4BcsrOVOcLy3tNZJNmTmhb9jPpeDp9PEH0h5IkATk9M=; b=Kuw39ShZofuhmuSK6jHQw1s71oBUHNmZRFBcFEGDS1Tbc0Nmf+d8Do3vMsJTFqFX3htTN3 ++he4H2pmre/TxCIqSkGF5sb88Def3Ylz2716zO/YRueT24ZkwfTy4qqJRDN86ab3icbFa EW/4B1qMoUG9Vel+Mkgywa+tR+1Crt8= 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-684-o-_EiFy2MO-cgoXVK8kqsQ-1; Fri, 11 Sep 2026 16:31:00 -0400 X-MC-Unique: o-_EiFy2MO-cgoXVK8kqsQ-1 X-Mimecast-MFC-AGG-ID: o-_EiFy2MO-cgoXVK8kqsQ_1789158658 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 C10031955BF8; Fri, 11 Sep 2026 20:30:58 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.80.45]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EA02626D; Fri, 11 Sep 2026 20:30:53 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: Zhao Liu , Jason Wang , Paolo Bonzini , Fabiano Rosas , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Kevin Wolf , Markus Armbruster , Vladimir Sementsov-Ogievskiy , qemu-block@nongnu.org, John Snow , Eric Blake , Igor Mammedov , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , "Michael S. Tsirkin" , Peter Xu , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ani Sinha Subject: [PATCH 8/9] qapi: split intro sections for data structs Date: Fri, 11 Sep 2026 16:30:01 -0400 Message-ID: <20260911203002.305316-9-jsnow@redhat.com> In-Reply-To: <20260911203002.305316-1-jsnow@redhat.com> References: <20260911203002.305316-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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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+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 uses as a data type to describe its own arguments or as a branch of a union: i.e. they are not currently 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. Review notes: Similar notes as previous patches in this series with respect to how splits were determined, and why details were not physically relocated. Signed-off-by: John Snow --- qapi/acpi.json | 3 +-- qapi/block-core.json | 5 ++--- qapi/compat.json | 3 +-- qapi/machine.json | 9 ++++----- 4 files changed, 8 insertions(+), 12 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 ec052f6bd2d..80f6c41c381 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -803,9 +803,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 ef1853b9acd..b42d142ddcc 100644 --- a/qapi/compat.json +++ b/qapi/compat.json @@ -37,8 +37,7 @@ ## # @CompatPolicy: -# -# Policy for handling deprecated management interfaces. +# Policy for handling deprecated management interfaces. # # This is intended for testing users of the management interfaces. # diff --git a/qapi/machine.json b/qapi/machine.json index 45e79c18b09..05a2851c0fc 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1606,9 +1606,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. @@ -1867,8 +1867,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