qemu-e2k/net
Marc-André Lureau f7abe0ecd4 qapi: Change data type of the FOO_lookup generated for enum FOO
Currently, a FOO_lookup is an array of strings terminated by a NULL
sentinel.

A future patch will generate enums with "holes".  NULL-termination
will cease to work then.

To prepare for that, store the length in the FOO_lookup by wrapping it
in a struct and adding a member for the length.

The sentinel will be dropped next.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170822132255.23945-13-marcandre.lureau@redhat.com>
[Basically redone]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503564371-26090-16-git-send-email-armbru@redhat.com>
[Rebased]
2017-09-04 13:09:13 +02:00
..
checksum.c
clients.h
colo-compare.c trace: add trace_event_get_state_backends() 2017-08-01 12:13:07 +01:00
colo.c net/colo.c: Add vnet packet parse feature in colo-proxy 2017-07-17 20:13:51 +08:00
colo.h net/colo.c: Make vnet_hdr_len as packet property 2017-07-17 20:13:48 +08:00
dump.c object: use more specific property type names 2017-06-20 14:31:32 +02:00
eth.c net/eth: fix incorrect check of iov_to_buf() return value 2017-07-31 13:06:38 +03:00
filter-buffer.c object: use more specific property type names 2017-06-20 14:31:32 +02:00
filter-mirror.c net/filter-mirror.c: Add new option to enable vnet support for filter-redirector 2017-07-17 20:13:47 +08:00
filter-replay.c
filter-rewriter.c trace: add trace_event_get_state_backends() 2017-08-01 12:13:07 +01:00
filter.c qapi: Change data type of the FOO_lookup generated for enum FOO 2017-09-04 13:09:13 +02:00
hub.c
hub.h
l2tpv3.c
Makefile.objs net/tap: Replace tap-haiku.c and tap-aix.c by a generic tap-stub.c 2017-05-23 10:10:38 +08:00
net.c qapi: Mechanically convert FOO_lookup[...] to FOO_str(...) 2017-09-04 13:09:13 +02:00
netmap.c
queue.c
slirp.c slirp: fill error when failing to initialize user network 2017-08-03 00:24:31 +02:00
socket.c net: fix -netdev socket,fd= for UDP sockets 2017-08-09 04:22:13 +03:00
tap_int.h
tap-bsd.c
tap-linux.c Convert error_report() to warn_report() 2017-07-13 13:49:58 +02:00
tap-linux.h
tap-solaris.c
tap-stub.c net/tap: Replace tap-haiku.c and tap-aix.c by a generic tap-stub.c 2017-05-23 10:10:38 +08:00
tap-win32.c
tap.c
trace-events trace-events: fix code style: print 0x before hex numbers 2017-08-01 12:13:07 +01:00
util.c
util.h
vde.c
vhost-user.c vhost-user: fix watcher need be removed when vhost-user hotplug 2017-08-02 00:13:26 +03:00