From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8O7c-0003cT-NO for qemu-devel@nongnu.org; Fri, 26 Jun 2015 03:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8O7Z-0006Pa-IB for qemu-devel@nongnu.org; Fri, 26 Jun 2015 03:32:24 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:60492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8O7Z-0006Oi-8R for qemu-devel@nongnu.org; Fri, 26 Jun 2015 03:32:21 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 26 Jun 2015 08:32:18 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9B3DC219004D for ; Fri, 26 Jun 2015 08:31:54 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t5Q7WGoU31654108 for ; Fri, 26 Jun 2015 07:32:16 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t5Q7WGfD012277 for ; Fri, 26 Jun 2015 01:32:16 -0600 From: Greg Kurz Date: Fri, 26 Jun 2015 09:32:12 +0200 Message-ID: <20150626073212.26832.5649.stgit@bahia.huguette.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/2] dataplane: cross-endian fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , Stefan Hajnoczi , "Michael S. Tsirkin" This series fixes two issues that prevent cross-endian setups to use dataplane. I had already posted tentative fixes, each in its own thread of mail, but I think it is better to send them altogether. Especially, note that patch 1/2 is the same as: http://patchwork.ozlabs.org/patch/488482/ with some minor changes in the commit message. This series was tested with ppc64 and ppc64le hosts. No regression was observed on x86_64. --- Greg Kurz (2): dataplane: drop copy_in_vring_desc() dataplane: fix cross-endian issues hw/virtio/dataplane/vring.c | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) -- Greg