summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGreg Kurz2015-06-17 15:23:39 +0200
committerMichael S. Tsirkin2015-06-17 17:12:54 +0200
commit04b7a1523d65bb5c78832098cf3108a1aadcaf8a (patch)
treeffcd7a89ade77fd5603e0c3390d18822cd83409f /include/net
parentvirtio: introduce virtio_legacy_is_cross_endian() (diff)
downloadqemu-04b7a1523d65bb5c78832098cf3108a1aadcaf8a.tar.gz
qemu-04b7a1523d65bb5c78832098cf3108a1aadcaf8a.tar.xz
qemu-04b7a1523d65bb5c78832098cf3108a1aadcaf8a.zip
vhost: set vring endianness for legacy virtio
Legacy virtio is native endian: if the guest and host endianness differ, we have to tell vhost so it can swap bytes where appropriate. This is done through a vhost ring ioctl. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions