]> git.ipfire.org Git - thirdparty/qemu.git/commit
net: set endianness on all backend devices
authorLaurent Vivier <lvivier@redhat.com>
Wed, 13 Jan 2016 19:26:25 +0000 (20:26 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 17 Mar 2016 21:36:19 +0000 (16:36 -0500)
commit9849b1912f18a2c3496331355567cb67422290c0
treebba8291bd2d9375fd18edff2e6ad61eb56d0624e
parentfe90bdc25bcf9954ee286cd51de94776a17d04f6
net: set endianness on all backend devices

commit 5be7d9f1b1452613b95c6ba70b8d7ad3d0797991
       vhost-net: tell tap backend about the vnet endianness

makes vhost net to set the endianness of the device, but only for
the first device.

In case of multiqueue, we have multiple devices... This patch sets the
endianness for all the devices of the interface.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit a407644079c8639002e7ea635d851953b10a38c3)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/vhost_net.c