xemu/include/net
Thomas Huth 34f708b0b6 net: Move error reporting from net_init_client/netdev to the calling site
It looks strange that net_init_client() and net_init_netdev() both
take an "Error **errp" parameter, but then do the error reporting
with "error_report_err(local_err)" on their own. Let's move the
error reporting to the calling site instead to simplify this code
a little bit.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2018-03-05 10:25:23 +08:00
..
can_emu.h net/can: simple messages transport implementation for QEMU 2018-02-13 11:44:13 +01:00
can_host.h net/can: simple messages transport implementation for QEMU 2018-02-13 11:44:13 +01:00
checksum.h net: Transmit zero UDP checksum as 0xFFFF 2017-11-20 11:08:00 +08:00
eth.h slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
filter.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
net.h net: Move error reporting from net_init_client/netdev to the calling site 2018-03-05 10:25:23 +08:00
queue.h net/queue: export qemu_net_queue_append_iov 2015-10-12 13:31:18 +08:00
slirp.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
tap.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
vhost_net.h vhost-net: Notify the backend about the host MTU 2017-01-10 07:02:53 +02:00
vhost-user.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00