lkml.org 
[lkml]   [2015]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v3 0/7] vhost: support for cross endian guests
From
Date
Hi,

This patchset allows vhost to be used with legacy virtio when guest and host
have a different endianness.

Patches 1-6 remain the same as the previous post. Patch 7 was heavily changed
according to MST's comments.

---

Greg Kurz (7):
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: feature to set the vring endianness


drivers/net/macvtap.c | 11 ++++++--
drivers/net/tun.c | 11 ++++++--
drivers/vhost/Kconfig | 10 +++++++
drivers/vhost/vhost.c | 55 ++++++++++++++++++++++++++++++++++++++
drivers/vhost/vhost.h | 34 +++++++++++++++++++----
include/linux/virtio_byteorder.h | 24 ++++++++++-------
include/linux/virtio_config.h | 19 +++++++++----
include/linux/vringh.h | 19 +++++++++----
include/uapi/linux/vhost.h | 5 +++
9 files changed, 156 insertions(+), 32 deletions(-)

--
Greg



\
 
 \ /
  Last update: 2015-04-07 14:41    [W:0.100 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site