Received: from eggs.gnu.org ([2001:4830:134:3::10]:45191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw6Dx-0003py-Hy for qemu-devel@nongnu.org; Mon, 17 Oct 2016 07:36:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw6Du-0000CG-EX for qemu-devel@nongnu.org; Mon, 17 Oct 2016 07:36:57 -0400 References: <1476700224-13186-1-git-send-email-lvivier@redhat.com> <1476700224-13186-5-git-send-email-lvivier@redhat.com> From: Thomas Huth Message-ID: <04aacbc6-e7b0-34a2-6cd0-bd8a3b723b2b@redhat.com> Date: Mon, 17 Oct 2016 13:36:50 +0200 MIME-Version: 1.0 In-Reply-To: <1476700224-13186-5-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 4/6] tests: rename target_big_endian() as qvirtio_is_big_endian() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Cc: dgibson@redhat.com, qemu-ppc@nongnu.org, Greg Kurz On 17.10.2016 12:30, Laurent Vivier wrote: > Move the definition to libqos/virtio.h as it must be used > only with virtio functions. > > Add a QVirtioDevice parameter as it will be needed to > know if the virtio device is using virtio 1.0 specification > and thus is always little-endian (to do) > > Signed-off-by: Laurent Vivier > Reviewed-by: Greg Kurz > --- > tests/libqos/virtio-pci.c | 2 +- > tests/libqos/virtio.h | 6 ++++++ > tests/libqtest.h | 10 ---------- > tests/virtio-blk-test.c | 36 ++++++++++++++++++------------------ > 4 files changed, 25 insertions(+), 29 deletions(-) > Reviewed-by: Thomas Huth