[PATCH v6 0/8] vhost: support for cross endian guests

Greg Kurz
2015-04-24T12:24:15Z

Only cosmetic and documentation changes since v5.

---

Greg Kurz (8):
virtio: introduce virtio_is_little_endian() helper
tun: add tun_is_little_endian() helper
macvtap: introduce macvtap_is_little_endian() helper
vringh: introduce vringh_is_little_endian() helper
vhost: introduce vhost_is_little_endian() helper
virtio: add explicit big-endian support to memory accessors
vhost: cross-endian support for legacy devices
macvtap/tun: cross-endian support for little-endian hosts

drivers/net/Kconfig | 14 ++++++
drivers/net/macvtap.c | 66 +++++++++++++++++++++++++++++-
drivers/net/tun.c | 68 ++++++++++++++++++++++++++++++
drivers/vhost/Kconfig | 15 +++++++
drivers/vhost/vhost.c | 85 ++++++++++++++++++++++++++++++++++++++
drivers/vhost/vhost.h | 25 ++++++++---
include/linux/virtio_byteorder.h | 24 ++++++-----
include/linux/virtio_config.h | 18 +++++---
include/linux/vringh.h | 18 +++++---
include/uapi/linux/if_tun.h | 6 +++
include/uapi/linux/vhost.h | 14 ++++++
11 files changed, 320 insertions(+), 33 deletions(-)

--
Greg