qemu/net
Michael S. Tsirkin 052bd52fa9 net: don't set native endianness
commit 5be7d9f1b1
    vhost-net: tell tap backend about the vnet endianness
makes vhost net always try to set LE - even if that matches the
native endian-ness.

This makes it fail on older kernels on x86 without TUNSETVNETLE support.

To fix, make qemu_set_vnet_le/qemu_set_vnet_be skip the
ioctl if it matches the host endian-ness.

Reported-by: Marcel Apfelbaum <marcel@redhat.com>
Cc: Greg Kurz <gkurz@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
2015-10-21 09:24:44 +03:00
..
Makefile.objs netfilter: add a netbuffer filter 2015-10-12 13:31:28 +08:00
checksum.c
clients.h
dump.c net: remove muldiv64() 2015-09-25 14:56:38 +02:00
eth.c
filter-buffer.c netfilter: add a netbuffer filter 2015-10-12 13:31:28 +08:00
filter.c netfilter: print filter info associate with the netdev 2015-10-12 13:30:56 +08:00
hub.c
hub.h
l2tpv3.c
net.c net: don't set native endianness 2015-10-21 09:24:44 +03:00
netmap.c
queue.c net/queue: export qemu_net_queue_append_iov 2015-10-12 13:31:18 +08:00
slirp.c
socket.c
tap-aix.c
tap-bsd.c
tap-haiku.c
tap-linux.c trivial: remove trailing newline from error_report 2015-09-11 10:21:38 +03:00
tap-linux.h
tap-solaris.c
tap-win32.c
tap.c
tap_int.h
util.c
util.h
vde.c
vhost-user.c vhost-user: add multiple queue support 2015-09-24 16:27:53 +03:00