Re: [PATCH v2 26/44] qapi: convert intro sections for pci.json

Igor Mammedov <[email protected]> Mon, 27 Jul 2026 14:20:28 +0200
Newsgroups org.nongnu.qemu-trivial,org.kernel.vger.linux-cxl,org.kernel.vger.linux-edac,org.nongnu.qemu-devel
Message-ID <20260727142028.3206f9e7@imammedo>
On Thu, 23 Jul 2026 00:47:47 -0400
John Snow <[email protected]> wrote:

> (Trivial)
> 
> Signed-off-by: John Snow <[email protected]>

Reviewed-by: Igor Mammedov <[email protected]>

> ---
>  qapi/pci.json | 27 +++++++++------------------
>  1 file changed, 9 insertions(+), 18 deletions(-)
> 
> diff --git a/qapi/pci.json b/qapi/pci.json
> index 694c741e420..a6a79f91afc 100644
> --- a/qapi/pci.json
> +++ b/qapi/pci.json
> @@ -13,8 +13,7 @@
>  
>  ##
>  # @PciMemoryRange:
> -#
> -# A PCI device memory region
> +#     A PCI device memory region
>  #
>  # @base: the starting address (guest physical)
>  #
> @@ -26,8 +25,7 @@
>  
>  ##
>  # @PciMemoryRegion:
> -#
> -# Information about a PCI device I/O region.
> +#     Information about a PCI device I/O region.
>  #
>  # @bar: the index of the Base Address Register for this region
>  #
> @@ -51,8 +49,7 @@
>  
>  ##
>  # @PciBusInfo:
> -#
> -# Information about a bus of a PCI Bridge device
> +#     Information about a bus of a PCI Bridge device
>  #
>  # @number: primary bus interface number.  This should be the number of
>  #     the bus the device resides on.
> @@ -80,8 +77,7 @@
>  
>  ##
>  # @PciBridgeInfo:
> -#
> -# Information about a PCI Bridge device
> +#     Information about a PCI Bridge device
>  #
>  # @bus: information about the bus the device resides on
>  #
> @@ -94,8 +90,7 @@
>  
>  ##
>  # @PciDeviceClass:
> -#
> -# Information about the Class of a PCI device
> +#     Information about the Class of a PCI device
>  #
>  # @desc: a string description of the device's class (not stable, and
>  #     should only be treated as informational)
> @@ -109,8 +104,7 @@
>  
>  ##
>  # @PciDeviceId:
> -#
> -# Information about the Id of a PCI device
> +#     Information about the Id of a PCI device
>  #
>  # @device: the PCI device id
>  #
> @@ -128,8 +122,7 @@
>  
>  ##
>  # @PciDeviceInfo:
> -#
> -# Information about a PCI device
> +#     Information about a PCI device
>  #
>  # @bus: the bus number of the device
>  #
> @@ -161,8 +154,7 @@
>  
>  ##
>  # @PciInfo:
> -#
> -# Information about a PCI bus
> +#     Information about a PCI bus
>  #
>  # @bus: the bus index
>  #
> @@ -174,8 +166,7 @@
>  
>  ##
>  # @query-pci:
> -#
> -# Return information about the PCI bus topology of the guest.
> +#     Return information about the PCI bus topology of the guest.
>  #
>  # Returns: a list of info for each PCI bus.  Each bus is
>  #     represented by a json-object, which has a key with a json-array