qemu-patch-raspberry4/net
Kővágó, Zoltán cebea51057 net: use Netdev instead of NetClientOptions in client init
This way we no longer need NetClientOptions and can convert Netdev
into a flat union.

Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <93ffdfed7054529635e6acb935150d95dc173a12.1441627176.git.DirtY.iCE.hu@gmail.com>

[rework net_client_init1() to pass Netdev by copying from NetdevLegacy,
rather than merging the two types - which means that we still need
NetClientOptions after all.  Rebase to qapi changes. The bulk of the
patch is mechanical, replacing 'opts' by 'netdev->opts', while
net_client_init1() takes care of converting between legacy and modern
types.]

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1468468228-27827-2-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-07-19 13:21:08 +02:00
..
Makefile.objs net/filter-mirror:Add filter-mirror 2016-03-30 08:54:29 +08:00
checksum.c net: handle optional VLAN header in checksum computation. 2016-06-02 10:42:46 +08:00
clients.h net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
dump.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
eth.c net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
filter-buffer.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
filter-mirror.c net/net: Add SocketReadState for reuse codes 2016-06-01 09:25:29 +08:00
filter.c filter-buffer: fix segfault when starting qemu with status=off property 2016-04-06 09:52:07 +08:00
hub.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
hub.h net: fix qemu_flush_queued_packets() in presence of a hub 2013-02-27 16:10:23 +01:00
l2tpv3.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
net.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
netmap.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
queue.c net: Clean up includes 2016-02-04 17:41:30 +00:00
slirp.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
socket.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
tap-aix.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tap-bsd.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-haiku.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tap-linux.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-linux.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
tap-solaris.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tap-win32.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
tap.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
tap_int.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
trace-events trace: split out trace events for net/ directory 2016-06-20 17:22:17 +01:00
util.c net: Clean up includes 2016-02-04 17:41:30 +00:00
util.h all: Clean up includes 2016-02-23 12:43:05 +00:00
vde.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00
vhost-user.c net: use Netdev instead of NetClientOptions in client init 2016-07-19 13:21:08 +02:00