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

Michael S. Tsirkin
2015-04-24T13:31:54Z

On Fri, Apr 24, 2015 at 02:24:15PM +0200, Greg Kurz wrote:
> Only cosmetic and documentation changes since v5.
>
> ---

Looks sane to me. I plan to review and apply next week.

> 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