Skip to content

vhost: support for cross endian guests

Greg Kurz kvm linux-api lkml netdev virtualization 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 33 repliesIn review
  2. v58 patches 22 repliesSuperseded
  3. v48 patches 33 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/20 of 7 patches0 repliesSuperseded
v3 posting 1/27 patches16 repliesSuperseded
v27 patches5 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8virtio: introduce virtio_is_little_endian() helperinclude/linux/virtio_config.h+11 -63 replies
2/8tun: add tun_is_little_endian() helperdrivers/net/tun.c+7 -25 replies
3/8macvtap: introduce macvtap_is_little_endian() helperdrivers/net/macvtap.c+7 -25 replies
4/8vringh: introduce vringh_is_little_endian() helperinclude/linux/vringh.h+11 -63 replies
5/8vhost: introduce vhost_is_little_endian() helperdrivers/vhost/vhost.h+11 -63 replies
6/8virtio: add explicit big-endian support to memory accessorsdrivers/net/macvtap.c drivers/net/tun.c drivers/vhost/vhost.h +3 more+24 -153 replies
7/8vhost: cross-endian support for legacy devicesdrivers/vhost/Kconfig drivers/vhost/vhost.c drivers/vhost/vhost.h +1 more+122 -33 replies
8/8macvtap/tun: cross-endian support for little-endian hostsdrivers/net/Kconfig drivers/net/macvtap.c drivers/net/tun.c +1 more+134 -21 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckDavid GibsonDavid S. Miller
1/8A-b R-b R-b
2/8A-b R-b R-b A-b
3/8A-b R-b R-b A-b
4/8A-b R-b R-b
5/8A-b R-b R-b
6/8R-b R-b R-b
7/8R-b R-b R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

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

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