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 DFB8B37E2F7 for ; Thu, 23 Jul 2026 04:54:53 +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=1784782501; cv=none; b=UN7oq1KuJxl5T39Dcmsdy6K90eXg3/frTJXBBg3emrJtw4bPk3WVD/gQUbYXezJVcar40ve+y30cJVOQ++MxDZQw5TUdeP1ZakrLm2a/nsZjtwNKMA5BDTuv7Aa+LZH3dyAPfChc2FfeJ6lBTtPdL3sYZ7sY4lWhSumENQp8VqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784782501; c=relaxed/simple; bh=B4JLx31eJEhmCHomlAqKaX/KfCraBVoXaijIa8f23sU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:content-type; b=uB4qNpv+g1DT/uSdyxwwt+Z0M0EK0im/4M87fsVS0dBV/ZXBo87kAr1oNessvW7MfxVSuTg0CHfouf3ngdgg9GE0KvdUPF/JI7Pnm/UAiRftoHlO5lKEfPYcl/LcOkK9NO2at8PAKuihnqnLgu8wqKPHXCFufJV0NoYuIA9N24A= 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=Opz6m0Nq; 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="Opz6m0Nq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1784782488; 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: in-reply-to:in-reply-to:references:references; bh=b6kt5HzL/dcb4GOtdYVxgWwilYqwRVX6SLi3+dLQtEE=; b=Opz6m0Nqd6aQjlut1nFxl/8i01X87cOQpTAbjvGpEMXFahuTrRHngkQiif3rmVxmUbNwK3 s2/Kl5lHC0lYhgv83KedEaYwWzyWfLmTX7uylif8bmZAvXgX54ZqQeQ11tK6ASSvhNO9VI 83RrLA+/VIsyHYULrgskN5lg/UbJjcQ= 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-413-LODP7NitOBe99UrCJyb4Mw-1; Thu, 23 Jul 2026 00:54:45 -0400 X-MC-Unique: LODP7NitOBe99UrCJyb4Mw-1 X-Mimecast-MFC-AGG-ID: LODP7NitOBe99UrCJyb4Mw_1784782482 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 5754118E6A73; Thu, 23 Jul 2026 04:54:42 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.88.44]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 87386180029D; Thu, 23 Jul 2026 04:54:33 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Lukas Straub , Vladimir Sementsov-Ogievskiy , Zhao Liu , Laurent Vivier , Markus Armbruster , "Gonglei (Arei)" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alex Williamson , zhenwei pi , Hanna Reitz , Ani Sinha , qemu-block@nongnu.org, Paolo Bonzini , Peter Xu , Kevin Wolf , linux-cxl@vger.kernel.org, Jiri Pirko , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Stefan Berger , Fabiano Rosas , John Snow , Stefan Hajnoczi , Michael Tokarev , Igor Mammedov , "Michael S. Tsirkin" , Gerd Hoffmann , Mauro Carvalho Chehab , linux-edac@vger.kernel.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Richard Henderson , Eric Blake , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Jason Wang , qemu-trivial@nongnu.org, Jonathan Cameron Subject: [PATCH v2 39/44] qapi: convert trivial intro sections for net.json Date: Thu, 23 Jul 2026 00:48:00 -0400 Message-ID: <20260723044805.527643-40-jsnow@redhat.com> In-Reply-To: <20260723044805.527643-1-jsnow@redhat.com> References: <20260723044805.527643-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.4.1 on 10.30.177.93 X-Mimecast-MFC-PROC-ID: ksR8JsRneCWEjiANGN2s8JMqg69FxKPmKRsArLfO3E0_1784782482 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true (Trivial) Signed-off-by: John Snow --- qapi/net.json | 101 ++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 64 deletions(-) diff --git a/qapi/net.json b/qapi/net.json index 1a6382825c5..7aabd8b9260 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -12,8 +12,7 @@ ## # @set_link: -# -# Sets the link status of a virtual network adapter. +# Sets the link status of a virtual network adapter. # # @name: the device name of the virtual network adapter # @@ -60,8 +59,7 @@ ## # @netdev_del: -# -# Remove a network backend. +# Remove a network backend. # # @id: the name of the network backend to remove # @@ -80,8 +78,7 @@ ## # @NetLegacyNicOptions: -# -# Create a new Network Interface Card. +# Create a new Network Interface Card. # # @netdev: id of -netdev to connect to # @@ -140,8 +137,7 @@ ## # @NetdevPasstOptions: -# -# Unprivileged user-mode network connectivity using passt +# Unprivileged user-mode network connectivity using passt # # @path: Filename of the passt program to run (by default 'passt', and # use PATH) @@ -301,9 +297,8 @@ ## # @NetdevUserOptions: -# -# Use the user mode network stack which requires no administrator -# privilege to run. +# Use the user mode network stack which requires no administrator +# privilege to run. # # @hostname: client hostname reported by the builtin DHCP server # @@ -389,8 +384,7 @@ ## # @NetdevTapOptions: -# -# Used to configure a host TAP network interface backend. +# Used to configure a host TAP network interface backend. # # @ifname: interface name # @@ -447,9 +441,8 @@ ## # @NetdevSocketOptions: -# -# Socket netdevs are used to establish a network connection to another -# QEMU virtual machine via a TCP socket. +# Socket netdevs are used to establish a network connection to +# another QEMU virtual machine via a TCP socket. # # @fd: file descriptor of an already opened socket # @@ -476,8 +469,7 @@ ## # @NetdevL2TPv3Options: -# -# Configure an Ethernet over L2TPv3 tunnel. +# Configure an Ethernet over L2TPv3 tunnel. # # @src: source address # @@ -531,8 +523,7 @@ ## # @NetdevVdeOptions: -# -# Connect to a vde switch running on the host. +# Connect to a vde switch running on the host. # # @sock: socket path # @@ -553,8 +544,7 @@ ## # @NetdevBridgeOptions: -# -# Connect a host TAP network interface to a host bridge device. +# Connect a host TAP network interface to a host bridge device. # # @br: bridge name # @@ -569,8 +559,7 @@ ## # @NetdevHubPortOptions: -# -# Connect two or more net clients through a software hub. +# Connect two or more net clients through a software hub. # # @hubid: hub identifier number # @@ -586,8 +575,8 @@ ## # @NetdevNetmapOptions: -# -# Connect a client to a netmap-enabled NIC or to a VALE switch port +# Connect a client to a netmap-enabled NIC or to a VALE switch +# port # # @ifname: Either the name of an existing network interface supported # by netmap, or the name of a VALE port (created on the fly). A @@ -607,8 +596,7 @@ ## # @AFXDPMode: -# -# Attach mode for a default XDP program +# Attach mode for a default XDP program # # @skb: generic mode, no driver support necessary # @@ -623,8 +611,7 @@ ## # @NetdevAFXDPOptions: -# -# AF_XDP network backend +# AF_XDP network backend # # @ifname: The name of an existing network interface. # @@ -675,8 +662,7 @@ ## # @NetdevVhostUserOptions: -# -# Vhost-user network backend +# Vhost-user network backend # # @chardev: name of a unix socket chardev # @@ -836,8 +822,7 @@ ## # @NetdevStreamOptions: -# -# Configuration info for stream socket netdev +# Configuration info for stream socket netdev # # @addr: socket address to listen on (server=true) or connect to # (server=false) @@ -861,8 +846,7 @@ ## # @NetdevDgramOptions: -# -# Configuration info for datagram socket netdev. +# Configuration info for datagram socket netdev. # # @remote: remote address # @@ -898,8 +882,7 @@ ## # @NetClientDriver: -# -# Available netdev drivers. +# Available netdev drivers. # # @l2tpv3: since 2.1 # @@ -933,8 +916,7 @@ ## # @Netdev: -# -# Captures the configuration of a network device. +# Captures the configuration of a network device. # # @id: identifier for monitor commands. # @@ -972,8 +954,7 @@ ## # @RxState: -# -# Packets receiving state +# Packets receiving state # # @normal: filter assigned packets according to the mac-table # @@ -987,8 +968,7 @@ ## # @RxFilterInfo: -# -# Rx-filter information for a NIC. +# Rx-filter information for a NIC. # # @name: net client name # @@ -1033,8 +1013,8 @@ ## # @query-rx-filter: -# -# Return rx-filter information for all NICs (or for the given NIC). +# Return rx-filter information for all NICs (or for the given +# NIC). # # @name: net client name # @@ -1082,9 +1062,8 @@ ## # @NIC_RX_FILTER_CHANGED: -# -# Emitted once until the `query-rx-filter` command is executed, the -# first event will always be emitted +# Emitted once until the `query-rx-filter` command is executed, +# the first event will always be emitted # # @name: net client name # @@ -1104,8 +1083,7 @@ ## # @AnnounceParameters: -# -# Parameters for self-announce timers +# Parameters for self-announce timers # # @initial: Initial delay (in ms) before sending the first GARP/RARP # announcement @@ -1157,11 +1135,10 @@ ## # @FAILOVER_NEGOTIATED: -# -# Emitted when VIRTIO_NET_F_STANDBY was enabled during feature -# negotiation. Failover primary devices which were hidden (not -# hotplugged when requested) before will now be hotplugged by the -# virtio-net standby device. +# Emitted when VIRTIO_NET_F_STANDBY was enabled during feature +# negotiation. Failover primary devices which were hidden (not +# hotplugged when requested) before will now be hotplugged by the +# virtio-net standby device. # # @device-id: QEMU device id of the unplugged device # @@ -1178,8 +1155,7 @@ ## # @NETDEV_STREAM_CONNECTED: -# -# Emitted when the netdev stream backend is connected +# Emitted when the netdev stream backend is connected # # @netdev-id: QEMU netdev id that is connected # @@ -1208,8 +1184,7 @@ ## # @NETDEV_STREAM_DISCONNECTED: -# -# Emitted when the netdev stream backend is disconnected +# Emitted when the netdev stream backend is disconnected # # @netdev-id: QEMU netdev id that is disconnected # @@ -1226,8 +1201,7 @@ ## # @NETDEV_VHOST_USER_CONNECTED: -# -# Emitted when the vhost-user chardev is connected +# Emitted when the vhost-user chardev is connected # # @netdev-id: QEMU netdev id that is connected # @@ -1246,8 +1220,7 @@ ## # @NETDEV_VHOST_USER_DISCONNECTED: -# -# Emitted when the vhost-user chardev is disconnected +# Emitted when the vhost-user chardev is disconnected # # @netdev-id: QEMU netdev id that is disconnected # -- 2.55.0