qapi schema: remove trailing whitespace
Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qapi schema: add Netdev types
NetdevTapOptions::sndbuf and NetdevDumpOptions::len use the new "size" type.
v1->v2:- NetLegacy::name is optional- NetLegacyNicOptions::vectors is of type uint32- NetdevVdeOptions::port and ::mode are of type uint16- NetLegacy::vlan has type int32...
hw, net: "net_client_type" -> "NetClientOptionsKind" (qapi-generated)
NET_CLIENT_TYPE_ -> NET_CLIENT_OPTIONS_KIND_
convert net_client_init() to OptsVisitor
The net_client_init() prototype is kept intact.
Based on "is_netdev", the QemuOpts-rooted QemuOpt-list is parsed as aNetdev or a NetLegacy. The original meat of net_client_init() is moved toand simplified in net_client_init1():...
convert net_init_nic() to NetClientOptions
v1->v2:- NetLegacyNicOptions::vectors is of type uint32
convert net_init_dump() to NetClientOptions
v1->v2:- NetdevDumpOptions::len is of type 'size', whose C type was changed to uint64_t. Adapt the printf() format specifier macro.
convert net_init_slirp() to NetClientOptions
convert net_init_socket() to NetClientOptions
I "reverse engineered" the following permissions between the -socketsub-options:
fd listen connect mcast udp | localaddr fd x . . . . | . listen . x . . . | ....
convert net_init_vde() to NetClientOptions
v1->v2:- NetdevVdeOptions::port and ::mode are of type uint16. Remove superfluous range checks.
convert net_init_tap() to NetClientOptions
View all revisions | View revisions
Also available in: Atom