diff options
author | Greg Kurz | 2015-06-17 15:23:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2015-06-17 17:12:54 +0200 |
commit | 04b7a1523d65bb5c78832098cf3108a1aadcaf8a (patch) | |
tree | ffcd7a89ade77fd5603e0c3390d18822cd83409f /include/net | |
parent | virtio: introduce virtio_legacy_is_cross_endian() (diff) | |
download | qemu-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