This series allows QEMU to benefit from the cross-endian feature added to vhost by the following patchset:
https://lists.linuxfoundation.org/pipermail/virtualization/2015-April/029700.html This is a complete rework of the unreviewed patchset I had sent last Feb. The patches aim to be virtio 1.0 friendly, and have thus been generated against MST's virtio-1.0 branch: https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git Please note that some more work is needed though to have vhost_net working. It will me covered in another patchset. --- Greg Kurz (3): vhost: move cross-endian check to vhost core linux-headers: sync vhost.h vhost: set vring endianness for legacy virtio hw/net/vhost_net.c | 19 --------------- hw/virtio/vhost.c | 56 ++++++++++++++++++++++++++++++++++++++----- include/hw/virtio/vhost.h | 1 + linux-headers/linux/vhost.h | 10 ++++++++ 4 files changed, 60 insertions(+), 26 deletions(-) -- Greg