Files
qemu/net
Michael S. Tsirkin 9137bd24c8 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>
(cherry picked from commit 052bd52fa9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-10-31 12:35:16 -05:00
..
2013-03-25 11:13:10 +01:00
2015-10-31 12:35:16 -05:00
2015-06-22 18:20:40 +02:00
2015-06-17 17:12:54 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2012-12-19 08:31:29 +01:00