diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-10-14 12:11:27 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-10-21 09:24:44 +0300 |
commit | 052bd52fa978d3f04bc476137ad6e1b9a697f9bd (patch) | |
tree | 99c7c97494d6306d4e817a81231b4990bc021013 /hw/virtio/vhost-backend.c | |
parent | 794e8f301a17953efa78ab7538019ec43c59e82a (diff) |
net: don't set native endianness
commit 5be7d9f1b1452613b95c6ba70b8d7ad3d0797991
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>
Diffstat (limited to 'hw/virtio/vhost-backend.c')
0 files changed, 0 insertions, 0 deletions