Lines Matching +full:- +full:- +full:disable +full:- +full:vhost +full:- +full:vdpa

1 # -*- Mode: Python -*-
21 # - If @name is not a valid network device, DeviceNotFound
29 # .. qmp-example::
31 # -> { "execute": "set_link",
33 # <- { "return": {} }
47 # - If @type is not a valid network backend, DeviceNotFound
49 # .. qmp-example::
51 # -> { "execute": "netdev_add",
54 # <- { "return": {} }
57 'allow-preconfig': true }
67 # - If @id is not a valid network backend, DeviceNotFound
71 # .. qmp-example::
73 # -> { "execute": "netdev_del", "arguments": { "id": "netdev1" } }
74 # <- { "return": {} }
77 'allow-preconfig': true }
84 # @netdev: id of -netdev to connect to
92 # @vectors: number of MSI-x vectors, 0 to disable MSI-X
133 # form a.b.c.d or as a number of valid top-most bits. Default is
136 # @host: guest-visible address of the host
138 # @tftp: root directory of the built-in TFTP server
142 # @dhcpstart: the first of the 16 IPs the built-in DHCP server can
145 # @dns: guest-visible address of the virtual nameserver
150 # @domainname: guest-visible domain name of the virtual nameserver
153 # @ipv6-prefix: IPv6 network prefix (default is fec0::). The network
157 # @ipv6-prefixlen: IPv6 network prefix length (default is 64)
160 # @ipv6-host: guest-visible IPv6 address of the host (since 2.6)
162 # @ipv6-dns: guest-visible IPv6 address of the virtual nameserver
165 # @smb: root directory of the built-in SMB server
167 # @smbserver: IP address of the built-in SMB server
174 # @tftp-server-name: RFC2132 "TFTP server name" string (Since 3.1)
193 '*ipv6-prefix': 'str',
194 '*ipv6-prefixlen': 'int',
195 '*ipv6-host': 'str',
196 '*ipv6-dns': 'str',
201 '*tftp-server-name': 'str' } }
227 # @vhost: enable vhost-net network accelerator
229 # @vhostfd: file descriptor of an already opened vhost net device
231 # @vhostfds: file descriptors of multiple already opened vhost net
234 # @vhostforce: vhost on for non-MSIX virtio guests
238 # @poll-us: maximum number of microseconds that could be spent on busy
254 '*vhost': 'bool',
259 '*poll-us': 'uint32'} }
299 # @srcport: source port - mandatory for udp, optional for ip
301 # @dstport: destination port - mandatory for udp, optional for ip
311 # @pincounter: pin sequence counter to zero - workaround for buggy
320 # @rxsession: 32 bit receive session - if not specified set to the
323 # @offset: additional offset - allows the insertion of additional
324 # application-specific data before the packet payload
403 # Connect a client to a netmap-enabled NIC or to a VALE switch port
408 # are non-negative integers. XXX identifies a switch and YYY
447 # @force-copy: Force XDP copy mode even if device supports zero-copy.
453 # @start-queue: Use @queues starting from this queue number
457 # to the interface (default: false). Requires @sock-fds.
459 # @sock-fds: A colon (:) separated list of file descriptors for
471 '*force-copy': 'bool',
473 '*start-queue': 'int',
475 '*sock-fds': 'str' },
481 # Vhost-user network backend
485 # @vhostforce: vhost on for non-MSIX virtio guests (default: false).
487 # @queues: number of queues to be created for multiqueue vhost-user
501 # Vhost-vdpa network backend
503 # vDPA device is a device that uses a datapath which complies with the
506 # @vhostdev: path of vhost-vdpa device (default:'/dev/vhost-vdpa-0')
508 # @vhostfd: file descriptor of an already opened vhost vdpa device
510 # @queues: number of queues to be created for multiqueue vhost-vdpa
513 # @x-svq: Start device with (experimental) shadow virtqueue.
518 # @unstable: Member @x-svq is experimental.
527 '*x-svq': {'type': 'bool', 'features' : [ 'unstable'] } } }
537 # @start-address: The starting IPv4 address to use for the interface.
539 # along with @end-address and @subnet-mask. This address is used
541 # including end-address are placed in the DHCP pool.
543 # @end-address: The DHCP IPv4 range end address to use for the
545 # specified along with @start-address and @subnet-mask.
547 # @subnet-mask: The IPv4 subnet mask to use on the interface. Must be
548 # specified along with @start-address and @subnet-mask.
555 # @net-uuid: The identifier (UUID) to uniquely identify the isolated
565 '*start-address': 'str',
566 '*end-address': 'str',
567 '*subnet-mask': 'str',
569 '*net-uuid': 'str' },
584 # @start-address: The starting IPv4 address to use for the interface.
586 # along with @end-address and @subnet-mask. This address is used
588 # including end-address are placed in the DHCP pool.
590 # @end-address: The DHCP IPv4 range end address to use for the
592 # specified along with @start-address and @subnet-mask.
594 # @subnet-mask: The IPv4 subnet mask to use on the interface. Must be
595 # specified along with @start-address and @subnet-mask.
602 # @nat66-prefix: The IPv6 prefix to use into guest network. Must be a
610 '*start-address': 'str',
611 '*end-address': 'str',
612 '*subnet-mask': 'str',
614 '*nat66-prefix': 'str' },
653 # @reconnect-ms: For a client socket, if a socket is disconnected, then
662 # @deprecated: Member @reconnect is deprecated. Use @reconnect-ms
672 '*reconnect-ms': 'int' } }
718 # @vhost-vdpa: since 5.1
720 # @vmnet-host: since 7.1
722 # @vmnet-shared: since 7.1
724 # @vmnet-bridged: since 7.1
730 # @af-xdp: since 8.2
736 'dgram', 'vde', 'bridge', 'hubport', 'netmap', 'vhost-user',
737 'vhost-vdpa',
738 { 'name': 'af-xdp', 'if': 'CONFIG_AF_XDP' },
739 { 'name': 'vmnet-host', 'if': 'CONFIG_VMNET' },
740 { 'name': 'vmnet-shared', 'if': 'CONFIG_VMNET' },
741 { 'name': 'vmnet-bridged', 'if': 'CONFIG_VMNET' }] }
769 'af-xdp': { 'type': 'NetdevAFXDPOptions',
771 'vhost-user': 'NetdevVhostUserOptions',
772 'vhost-vdpa': 'NetdevVhostVDPAOptions',
773 'vmnet-host': { 'type': 'NetdevVmnetHostOptions',
775 'vmnet-shared': { 'type': 'NetdevVmnetSharedOptions',
777 'vmnet-bridged': { 'type': 'NetdevVmnetBridgedOptions',
785 # @normal: filter assigned packets according to the mac-table
798 # Rx-filter information for a NIC.
810 # @broadcast-allowed: whether to receive broadcast
812 # @multicast-overflow: multicast table is overflowed or not
814 # @unicast-overflow: unicast table is overflowed or not
816 # @main-mac: the main macaddr string
818 # @vlan-table: a list of active vlan id
820 # @unicast-table: a list of unicast macaddr string
822 # @multicast-table: a list of multicast macaddr string
833 'broadcast-allowed': 'bool',
834 'multicast-overflow': 'bool',
835 'unicast-overflow': 'bool',
836 'main-mac': 'str',
837 'vlan-table': ['int'],
838 'unicast-table': ['str'],
839 'multicast-table': ['str'] }}
842 # @query-rx-filter:
844 # Return rx-filter information for all NICs (or for the given NIC).
851 # - if the given @name doesn't exist
852 # - if the given NIC doesn't support rx-filter querying
853 # - if the given net client isn't a NIC
857 # .. qmp-example::
859 # -> { "execute": "query-rx-filter", "arguments": { "name": "vnet0" } }
860 # <- { "return": [
864 # "main-mac": "52:54:00:12:34:56",
867 # "vlan-table": [
871 # "unicast-table": [
874 # "multicast-overflow": false,
875 # "unicast-overflow": false,
876 # "multicast-table": [
881 # "broadcast-allowed": false
886 { 'command': 'query-rx-filter',
893 # Emitted once until the 'query-rx-filter' command is executed, the
902 # .. qmp-example::
904 # <- { "event": "NIC_RX_FILTER_CHANGED",
906 # "path": "/machine/peripheral/vnet0/virtio-backend" },
915 # Parameters for self-announce timers
922 # @rounds: Number of self-announcement attempts
924 # @step: Delay increase (in ms) after each self-announcement attempt
929 # @id: A name to be used to identify an instance of announce-timers
945 # @announce-self:
948 # switches. This can be useful when network bonds fail-over the
953 # .. qmp-example::
955 # -> { "execute": "announce-self",
959 # <- { "return": {} }
963 { 'command': 'announce-self', 'boxed': true,
972 # virtio-net standby device.
974 # @device-id: QEMU device id of the unplugged device
978 # .. qmp-example::
980 # <- { "event": "FAILOVER_NEGOTIATED",
981 # "data": { "device-id": "net1" },
985 'data': {'device-id': 'str'} }
992 # @netdev-id: QEMU netdev id that is connected
998 # .. qmp-example::
1000 # <- { "event": "NETDEV_STREAM_CONNECTED",
1001 # "data": { "netdev-id": "netdev0",
1006 # .. qmp-example::
1008 # <- { "event": "NETDEV_STREAM_CONNECTED",
1009 # "data": { "netdev-id": "netdev0",
1014 'data': { 'netdev-id': 'str',
1022 # @netdev-id: QEMU netdev id that is disconnected
1026 # .. qmp-example::
1028 # <- { "event": "NETDEV_STREAM_DISCONNECTED",
1029 # "data": {"netdev-id": "netdev0"},
1033 'data': { 'netdev-id': 'str' } }
1038 # Emitted when the vhost-user chardev is connected
1040 # @netdev-id: QEMU netdev id that is connected
1042 # @chardev-id: The character device id used by the QEMU netdev
1046 # .. qmp-example::
1048 # <- { "timestamp": {"seconds": 1739538638, "microseconds": 354181 },
1050 # "data": { "netdev-id": "netdev0", "chardev-id": "chr0" } }
1054 'data': { 'netdev-id': 'str', 'chardev-id': 'str' } }
1059 # Emitted when the vhost-user chardev is disconnected
1061 # @netdev-id: QEMU netdev id that is disconnected
1065 # .. qmp-example::
1067 # <- { "timestamp": { "seconds": 1739538634, "microseconds": 920450 },
1069 # "data": { "netdev-id": "netdev0" } }
1073 'data': { 'netdev-id': 'str' } }