qemu-e2k/qapi
Thomas Huth 71830d8430 net: Drop the NetLegacy structure, always use Netdev instead
Now that the "name" parameter is gone, there is hardly any difference
between NetLegacy and Netdev anymore, so we can drop NetLegacy and always
use Netdev to simplify the code quite a bit.

The only two differences that were really left between Netdev and NetLegacy:

1) NetLegacy does not allow a "hubport" type. We can continue to block
   this with a simple check in net_client_init1() for this type.

2) The "id" parameter was optional in NetLegacy (and an internal id
   was chosen via assign_name() during initialization), but it is mandatory
   for Netdev. To avoid that the visitor code bails out here, we have to
   add an internal id to the QemuOpts already earlier now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-06-18 21:05:52 +08:00
..
audio.json audio/jack: add JACK client audiodev 2020-05-25 11:30:03 +02:00
authz.json
block-core.json qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
block.json
char.json
common.json
control.json
crypto.json
dump.json
error.json
introspect.json
job.json
machine-target.json
machine.json Add rx-softmmu 2020-03-19 17:58:05 +01:00
Makefile.objs
migration.json migration/xbzrle: add encoding rate 2020-05-07 17:40:24 +01:00
misc-target.json
misc.json pci: Display PCI IRQ pin in "info pci" 2020-06-12 10:17:06 -04:00
net.json net: Drop the NetLegacy structure, always use Netdev instead 2020-06-18 21:05:52 +08:00
opts-visitor.c
pragma.json
qapi-clone-visitor.c
qapi-dealloc-visitor.c qapi: Fix Visitor contract for start_alternate() 2020-04-30 06:51:15 +02:00
qapi-schema.json
qapi-util.c
qapi-visit-core.c qapi: Assert non-input visitors see only valid narrow integers 2020-04-30 07:26:40 +02:00
qdev.json
qmp-dispatch.c qmp: fix leak on callbacks that return both value and error 2020-04-02 14:55:46 -04:00
qmp-event.c
qmp-registry.c
qobject-input-visitor.c qobject: Eliminate qdict_iter(), use qdict_first(), qdict_next() 2020-04-30 06:51:15 +02:00
qobject-output-visitor.c
qom.json
rdma.json
rocker.json
run-state.json
sockets.json qemu-sockets: add abstract UNIX domain socket support 2020-05-20 10:34:40 +01:00
string-input-visitor.c
string-output-visitor.c
tpm.json
trace-events
trace.json
transaction.json
ui.json