[PATCH v2 37/44] qapi: convert intro sections for char.json
John Snow <[email protected]> Thu, 23 Jul 2026 00:47:58 -0400
| Newsgroups | org.nongnu.qemu-trivial,org.kernel.vger.linux-cxl,org.kernel.vger.linux-edac,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
(Trivial) Signed-off-by: John Snow <[email protected]> --- qapi/char.json | 90 +++++++++++++++++--------------------------------- 1 file changed, 30 insertions(+), 60 deletions(-) diff --git a/qapi/char.json b/qapi/char.json index abaccefa97e..7ae67eedff8 100644 --- a/qapi/char.json +++ b/qapi/char.json @@ -12,8 +12,7 @@ ## # @ChardevInfo: -# -# Information about a character device. +# Information about a character device. # # @label: the label of the character device # @@ -35,8 +34,7 @@ ## # @query-chardev: -# -# Return information about current character devices. +# Return information about current character devices. # # Since: 0.14 # @@ -68,8 +66,7 @@ ## # @ChardevBackendInfo: -# -# Information about a character device backend +# Information about a character device backend # # @name: The backend name # @@ -79,8 +76,7 @@ ## # @query-chardev-backends: -# -# Return information about character device backends. +# Return information about character device backends. # # Since: 2.0 # @@ -108,8 +104,7 @@ ## # @DataFormat: -# -# An enumeration of data format. +# An enumeration of data format. # # @utf8: Data is a UTF-8 string (RFC 3629) # @@ -122,8 +117,7 @@ ## # @ringbuf-write: -# -# Write to a ring buffer character device. +# Write to a ring buffer character device. # # @device: the ring buffer character device name # @@ -154,8 +148,7 @@ ## # @ringbuf-read: -# -# Read from a ring buffer character device. +# Read from a ring buffer character device. # # @device: the ring buffer character device name # @@ -189,8 +182,7 @@ ## # @ChardevCommon: -# -# Configuration shared across all chardev backends +# Configuration shared across all chardev backends # # @logfile: The name of a logfile to save output # @@ -209,8 +201,7 @@ ## # @ChardevFile: -# -# Configuration info for file chardevs. +# Configuration info for file chardevs. # # @in: The name of the input file # @@ -229,8 +220,7 @@ ## # @ChardevHostdev: -# -# Configuration info for device and pipe chardevs. +# Configuration info for device and pipe chardevs. # # @device: The name of the special file for the device, i.e. # /dev/ttyS0 on Unix or COM1: on Windows @@ -243,8 +233,7 @@ ## # @ChardevSocket: -# -# Configuration info for (stream) socket chardevs. +# Configuration info for (stream) socket chardevs. # # @addr: socket address to listen on (server=true) or connect to # (server=false) @@ -295,8 +284,7 @@ ## # @ChardevUdp: -# -# Configuration info for datagram socket chardevs. +# Configuration info for datagram socket chardevs. # # @remote: remote address # @@ -311,8 +299,7 @@ ## # @ChardevMux: -# -# Configuration info for mux chardevs. +# Configuration info for mux chardevs. # # @chardev: name of the base chardev. # @@ -324,8 +311,7 @@ ## # @ChardevHub: -# -# Configuration info for hub chardevs. +# Configuration info for hub chardevs. # # @chardevs: IDs to be added to this hub (maximum 4 devices). # @@ -337,8 +323,7 @@ ## # @ChardevStdio: -# -# Configuration info for stdio chardevs. +# Configuration info for stdio chardevs. # # @signal: Allow signals (such as SIGINT triggered by ^C) be delivered # to QEMU. Default: true. @@ -351,8 +336,7 @@ ## # @ChardevSpiceChannel: -# -# Configuration info for spice vm channel chardevs. +# Configuration info for spice vm channel chardevs. # # @type: kind of channel (for example vdagent). # @@ -365,8 +349,7 @@ ## # @ChardevSpicePort: -# -# Configuration info for spice port chardevs. +# Configuration info for spice port chardevs. # # @fqdn: name of the channel (see docs/spice-port-fqdn.txt) # @@ -379,8 +362,7 @@ ## # @ChardevVCEncoding: -# -# Character encoding expected from the guest on a virtual console. +# Character encoding expected from the guest on a virtual console. # # @cp437: CP437 (8-bit Extended ASCII / VGA). Every byte maps # directly to a glyph; suitable for DOS or other guests that @@ -397,8 +379,7 @@ ## # @ChardevDBus: -# -# Configuration info for DBus chardevs. +# Configuration info for DBus chardevs. # # @name: name of the channel (following docs/spice-port-fqdn.txt) # @@ -415,8 +396,7 @@ ## # @ChardevVC: -# -# Configuration info for virtual console chardevs. +# Configuration info for virtual console chardevs. # # @width: console width, in pixels # @@ -445,8 +425,7 @@ ## # @ChardevRingbuf: -# -# Configuration info for ring buffer chardevs. +# Configuration info for ring buffer chardevs. # # @size: ring buffer size, must be power of two, default is 65536 # @@ -458,8 +437,7 @@ ## # @ChardevQemuVDAgent: -# -# Configuration info for QEMU vdagent implementation. +# Configuration info for QEMU vdagent implementation. # # @mouse: enable/disable mouse, default is enabled. # @@ -475,8 +453,7 @@ ## # @ChardevPty: -# -# Configuration info for pty implementation. +# Configuration info for pty implementation. # # @path: optional path to create a symbolic link that points to the # allocated PTY @@ -723,8 +700,7 @@ ## # @ChardevBackend: -# -# Configuration info for the new chardev backend. +# Configuration info for the new chardev backend. # # @type: backend type # @@ -767,8 +743,7 @@ ## # @ChardevReturn: -# -# Return info about the chardev backend just created. +# Return info about the chardev backend just created. # # @pty: name of the slave pseudoterminal device, present if and only # if a chardev of type 'pty' was created @@ -780,8 +755,7 @@ ## # @chardev-add: -# -# Add a character device backend +# Add a character device backend # # @id: the chardev's ID, must be unique # @@ -818,8 +792,7 @@ ## # @chardev-change: -# -# Change a character device backend +# Change a character device backend # # @id: the chardev's ID # @@ -859,8 +832,7 @@ ## # @chardev-remove: -# -# Remove a character device backend +# Remove a character device backend # # @id: the chardev's ID, must not be in use # @@ -876,8 +848,7 @@ ## # @chardev-send-break: -# -# Send a break to a character device +# Send a break to a character device # # @id: the chardev's ID # @@ -893,8 +864,7 @@ ## # @VSERPORT_CHANGE: -# -# Emitted when the guest opens or closes a virtio-serial port. +# Emitted when the guest opens or closes a virtio-serial port. # # @id: device identifier of the virtio-serial port # -- 2.55.0