From: John Snow <[email protected]> Signed-off-by: John Snow <[email protected]> Message-ID: <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> --- qapi/net.json | 92 ++++++++++++++++++--------------------------------- 1 file changed, 33 insertions(+), 59 deletions(-)
diff --git a/qapi/net.json b/qapi/net.json index b46af1fdc9..96ca18a3bc 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 # @@ -486,9 +480,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 # @@ -515,8 +508,7 @@ ## # @NetdevL2TPv3Options: -# -# Configure an Ethernet over L2TPv3 tunnel. +# Configure an Ethernet over L2TPv3 tunnel. # # @src: source address # @@ -570,8 +562,7 @@ ## # @NetdevVdeOptions: -# -# Connect to a vde switch running on the host. +# Connect to a vde switch running on the host. # # @sock: socket path # @@ -592,8 +583,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 # @@ -608,8 +598,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 # @@ -625,8 +614,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 @@ -646,8 +635,7 @@ ## # @AFXDPMode: -# -# Attach mode for a default XDP program +# Attach mode for a default XDP program # # @skb: generic mode, no driver support necessary # @@ -662,8 +650,7 @@ ## # @NetdevAFXDPOptions: -# -# AF_XDP network backend +# AF_XDP network backend # # @ifname: The name of an existing network interface. # @@ -714,8 +701,7 @@ ## # @NetdevVhostUserOptions: -# -# Vhost-user network backend +# Vhost-user network backend # # @chardev: name of a unix socket chardev # @@ -875,8 +861,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) @@ -900,8 +885,7 @@ ## # @NetdevDgramOptions: -# -# Configuration info for datagram socket netdev. +# Configuration info for datagram socket netdev. # # @remote: remote address # @@ -937,8 +921,7 @@ ## # @NetClientDriver: -# -# Available netdev drivers. +# Available netdev drivers. # # @l2tpv3: since 2.1 # @@ -976,8 +959,7 @@ ## # @Netdev: -# -# Captures the configuration of a network device. +# Captures the configuration of a network device. # # @id: identifier for monitor commands. # @@ -1018,8 +1000,7 @@ ## # @RxState: -# -# Packets receiving state +# Packets receiving state # # @normal: filter assigned packets according to the mac-table # @@ -1033,8 +1014,7 @@ ## # @RxFilterInfo: -# -# Rx-filter information for a NIC. +# Rx-filter information for a NIC. # # @name: net client name # @@ -1079,8 +1059,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 # @@ -1128,9 +1108,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 # @@ -1150,8 +1129,7 @@ ## # @AnnounceParameters: -# -# Parameters for self-announce timers +# Parameters for self-announce timers # # @initial: Initial delay (in ms) before sending the first GARP/RARP # announcement @@ -1224,8 +1202,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 # @@ -1254,8 +1231,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 # @@ -1272,8 +1248,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 # @@ -1292,8 +1267,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
