Received: from eggs.gnu.org ([2001:4830:134:3::10]:54224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjOqv-0003k3-C4 for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:43:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjOqm-0006MW-3i for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:43:37 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:42910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjOql-0006Ly-RD for qemu-devel@nongnu.org; Wed, 29 Oct 2014 04:43:28 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Oct 2014 08:43:25 -0000 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Wed, 29 Oct 2014 09:42:08 +0100 Message-Id: <1414572130-17014-1-git-send-email-clg@fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC PATCH 0/2] vhost: support for cross endian List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mst@redhat.com Cc: aik@ozlabs.ru, qemu-devel@nongnu.org, agraf@suse.de, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , paulus@samba.org, qemu-ppc@nongnu.org These two small patches add a VHOST_VRING_F_BYTESWAP flag to the vring which will be used by the kernel to byteswap the different vring indexes. The kernel patchset can be found on the kvm@ and kvm-ppc@ mailing lists. Cédric Le Goater (2): vhost: add VHOST_VRING_F_BYTESWAP flag vhost_net: re-enable when cross endian hw/net/vhost_net.c | 19 ------------------- hw/virtio/vhost.c | 25 ++++++++++++++++++++++++- include/hw/virtio/vhost.h | 1 + linux-headers/linux/vhost.h | 3 +++ 4 files changed, 28 insertions(+), 20 deletions(-) -- 1.7.10.4