From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5EzU-0001Vc-2I for qemu-devel@nongnu.org; Wed, 17 Jun 2015 11:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5EzQ-00085W-0U for qemu-devel@nongnu.org; Wed, 17 Jun 2015 11:10:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5EzP-00085N-IG for qemu-devel@nongnu.org; Wed, 17 Jun 2015 11:10:55 -0400 Date: Wed, 17 Jun 2015 17:10:50 +0200 From: "Michael S. Tsirkin" Message-ID: <20150617171037-mutt-send-email-mst@redhat.com> References: <20150617132323.6560.29432.stgit@bahia.lab.toulouse-stg.fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20150617132323.6560.29432.stgit@bahia.lab.toulouse-stg.fr.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/6] vhost: cross-endian support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: Cornelia Huck , Thomas Huth , qemu-devel@nongnu.org, Stefan Hajnoczi , Jason Wang On Wed, Jun 17, 2015 at 03:23:24PM +0200, Greg Kurz wrote: > Hi, >=20 > This series brings initial enablement in vhost to support legacy virtio > devices when host and guest have different endianness (for example, ppc= 64 > versus ppc64le). >=20 > Only vhost_net is fully enabled at the moment... I haven't looked at > vhost_scsi yet. >=20 > It is basically the same patch set I had sent last month: >=20 > https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00780.html >=20 > ... without the "virtio: relax feature check" patch since QEMU now > supports 64-bit features. >=20 > Some kernel support is needed, already available in Michael's vhost-nex= t > branch at: >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git >=20 > Please review. Seems minor enough, I've applied this. > --- >=20 > C=E9dric Le Goater (1): > vhost_net: re-enable when cross endian >=20 > Greg Kurz (5): > linux-headers: sync vhost.h > virtio: introduce virtio_legacy_is_cross_endian() > vhost: set vring endianness for legacy virtio > tap: add VNET_LE/VNET_BE operations > vhost-net: tell tap backend about the vnet endianness >=20 >=20 > hw/net/vhost_net.c | 50 +++++++++++++++++++++++------= -------- > hw/virtio/vhost.c | 50 +++++++++++++++++++++++++++++= +++++++- > include/hw/virtio/virtio-access.h | 13 ++++++++++ > include/net/net.h | 6 ++++ > linux-headers/linux/vhost.h | 14 ++++++++++ > net/net.c | 18 +++++++++++++ > net/tap-linux.c | 34 +++++++++++++++++++++++++ > net/tap-linux.h | 2 + > net/tap.c | 16 ++++++++++++ > net/tap_int.h | 2 + > 10 files changed, 185 insertions(+), 20 deletions(-) >=20 > -- > Greg