Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933212AbbDXMaj (ORCPT ); Fri, 24 Apr 2015 08:30:39 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:48432 "EHLO e06smtp10.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754167AbbDXMYX (ORCPT ); Fri, 24 Apr 2015 08:24:23 -0400 Subject: [PATCH v6 0/8] vhost: support for cross endian guests From: Greg Kurz To: Rusty Russell , "Michael S. Tsirkin" Cc: Thomas Huth , kvm@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Cornelia Huck Date: Fri, 24 Apr 2015 14:24:15 +0200 Message-ID: <20150424122211.19156.97626.stgit@bahia.local> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042412-0041-0000-0000-0000040AC63E Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1458 Lines: 36 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/