From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E3E23976BE for ; Wed, 16 Sep 2026 13:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789567149; cv=none; b=X6y7pOlSLcJ/toN3Ztpjh1N8b1vhdsIowSjHqA2NpuIlqos9zw0fMcaSAwXAwX+mUdkCXEBeK13f4mUXAYYqcuGZ8Qbb+n1AvoRgDZOt7a/jbgDaUpztJexzay+fVp5FNcvOEaBDxRUvf4sRDTbB3T3KxjEtlf9Ft+HoujxC3zw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789567149; c=relaxed/simple; bh=T6sc+9anhOEJltQuA7tMecUG5ymfGq98cDlaN7Uqjlo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OSCNfo2miyivswUJ2Jl+wUM17zPIfpHiPvbALDtV/2jNVLvZtmgrFfqRiMjvWHpkGzINGVbqr90eoGAMw644dpyunJi/M0T0FERSktHQ/heCPfADQFzefekGPG3bDrbsEonCUGvf5yakBMgmMbNgnvqNiM6i5o/cwfZD0mW4OHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EMQ6mm8p; arc=none smtp.client-ip=170.10.129.124 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) header.d=redhat.com header.i=@redhat.com header.b="EMQ6mm8p" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1789567146; 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; bh=jIKr9vk36vXGR12JxT7cpO+gtSxA6bv7TCQ1tfsZLew=; b=EMQ6mm8p3g2ZcI06p5USloMqysDB2kalSR9za49ULeZsAi2T4OY7Otl3wsV0GoJNLSq0EX 6iSXIrQNsNDsPMDl60VwWqNZyew4tG0i907obqMiyjA+g6q+QePq1Vw7bkjpcq8boVn1yo IegNVENWscg+N9FKCkMHuuPu6mIBxnM= 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-127--IHSpPR1NjeEt2QRqD_86g-1; Wed, 16 Sep 2026 09:58:57 -0400 X-MC-Unique: -IHSpPR1NjeEt2QRqD_86g-1 X-Mimecast-MFC-AGG-ID: -IHSpPR1NjeEt2QRqD_86g_1789567130 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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 042E41953971; Wed, 16 Sep 2026 13:58:50 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.46]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B3E181956054; Wed, 16 Sep 2026 13:58:44 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: Markus Armbruster , Zhao Liu , Peter Xu , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jonathan Cameron , Eric Blake , Fabiano Rosas , Kevin Wolf , Michael Roth , linux-cxl@vger.kernel.org, qemu-block@nongnu.org, Junjie Cao , Lukas Straub , Hanna Reitz , Paolo Bonzini , Jason Wang , John Snow Subject: [PATCH v4 0/7] qapi: convert remaining "simple" intro sections Date: Wed, 16 Sep 2026 09:58:34 -0400 Message-ID: <20260916135841.3614495-1-jsnow@redhat.com> Precedence: bulk X-Mailing-List: linux-cxl@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-MFC-PROC-ID: J3kldRRr3wqFaWJnvk0KprZuPHCx9Ox6BZqf2kYz3_8_1789567130 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable v4:=0D - :(=0D - :( :(=0D - Fix 'Fix python typing issue with hotfix from below ...'=0D v3:=0D - Fix python typing issue with hotfix from below ...=0D - Rebase on top of armbru/qapi-not-next=0D v2:=0D - Fix stub insertion algorithm for some "TODO:" replacement cases=0D =0D Hello, this work converts the remaining "simple" intro sections in the=0D QAPI schema to use the new syntax. This is part of our ongoing effort=0D to add the mythical "inliner" to our generated QMP documentation.=0D =0D This batch covers structures that *are* likely to be inlined, and thus=0D have introductory paragraphs that are quite likely to be omitted when=0D the member documentation is copied into other contexts (e.g. as=0D arguments for command documentation, or as members of a branch for=0D commands that accept union arguments.)=0D =0D "simple" here is a non-technical distinction that means a single=0D paragraph of text followed by an existing section boundary that=0D naturally already delineates what comprises the intro.=0D =0D If you are a non-QAPI maintainer who has been CC'd on this series, you=0D may wish to review what information is being codified as the "intro"=0D (The indented paragraph) and keep in mind that in the future, this=0D text may not be visible to the end-user reading our QMP documentation=0D if this structure is utilized as the 'base' for another struct, used=0D as the arguments for a command or event, or used as branch of a=0D union. This series keeps it pretty simple, and every conversion herein=0D is being codified as "the intro", i.e. "not crucial to understanding=0D the behavior of the members of this struct".=0D =0D This is the last of the brain-dead, simple conversions apart from any=0D new cases that may have been merged during the development of this=0D series. The remaining patches all convert or split longer paragraphs=0D and require more scrutiny.=0D =0D We're almost back to reviewing actual code! Hang in there, everybody.=0D =0D John Snow (7):=0D qapi: convert remaining simple intros for block-export.json=0D qapi: convert remaining simple intros for cxl.json=0D qapi: convert remaining simple intros for machine.json=0D qapi: convert remaining simple intros for block-core.json=0D qapi/parser: fix intermediate "intro" detection=0D qapi: convert intro sections with "TODO" markers=0D qapi: convert intro sections followed by notes/examples=0D =0D qapi/block-core.json | 45 ++++++++++++++++++------------------------=0D qapi/block-export.json | 19 ++++++++----------=0D qapi/cxl.json | 14 +++++--------=0D qapi/machine.json | 15 +++++---------=0D qapi/migration.json | 25 +++++++++--------------=0D qapi/misc.json | 3 +--=0D qapi/net.json | 9 +++------=0D qapi/run-state.json | 7 +++----=0D qapi/yank.json | 5 +----=0D scripts/qapi/parser.py | 8 ++++++++=0D 10 files changed, 62 insertions(+), 88 deletions(-)=0D =0D --=20=0D 2.55.0=0D =0D