From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOm1a-0007ho-F3 for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:13:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOm1R-0005Rl-4L for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:13:22 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:39278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOm1Q-0005PM-ST for qemu-devel@nongnu.org; Tue, 02 Sep 2014 07:13:13 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 2 Sep 2014 12:13:10 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6B4F91B0804B for ; Tue, 2 Sep 2014 12:14:07 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s82BD67o41681042 for ; Tue, 2 Sep 2014 11:13:07 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s82BD6ge003732 for ; Tue, 2 Sep 2014 05:13:06 -0600 Date: Tue, 2 Sep 2014 13:13:03 +0200 From: Greg Kurz Message-ID: <20140902131303.55fd1005@bahia.local> In-Reply-To: <20140901182734.6de2abc7@crunchbang> References: <1409566080-6313-1-git-send-email-marc.mari.barcelo@gmail.com> <1409566080-6313-6-git-send-email-marc.mari.barcelo@gmail.com> <20140901180909.6d404d39@bahia.local> <20140901182734.6de2abc7@crunchbang> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v8 5/7] libqos: Added test case for configuration changes in virtio-blk test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc =?UTF-8?B?TWFyw60=?= Cc: Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi On Mon, 1 Sep 2014 18:27:34 +0200 Marc Mar=C3=AD wrote: > El Mon, 1 Sep 2014 18:09:09 +0200 > Greg Kurz escribi=C3=B3: > > On Mon, 1 Sep 2014 12:07:58 +0200 > > Marc Mar=C3=AD wrote: > > > Reviewed-by: Stefan Hajnoczi > > > Signed-off-by: Marc Mar=C3=AD > > > --- > >=20 > > Hi Marc, > >=20 > > I gave it a try for various host/target combinations involving ppc64 > > and x86_64. Here is what I get: > >=20 > > | x86_64 | ppc64 | TARGET > > +------------+-------------+-------- > > x86_64 | OK | assert (1) | > > --------+------------+-------------+ > > ppc64 | assert (2) | assert (1) | > > --------+------------+-------------+ > > ppc64le | OK | assert (1) | > > --------+------------+-------------+ > > HOST | > >=20 > > where OK means: > >=20 > > /virtio/blk/pci/basic: OK > > /virtio/blk/pci/indirect: OK > > /virtio/blk/pci/config: OK > > /virtio/blk/pci/msix: OK > > /virtio/blk/pci/idx: OK > >=20 > > and assert (1) is: > >=20 > > tests/virtio-blk-test.c:87:virtio_blk_init: assertion failed: (dev !=3D > > NULL) > >=20 > > and assert (2) is: > >=20 > > tests/virtio-blk-test.c:171:pci_basic: assertion failed (status =3D=3D > > 0): (2 =3D=3D 0) > >=20 > > I will investigate further but the first column in the array ^^ seems > > to indicate that there's some endianness bug. > >=20 > > Cheers. > >=20 > > -- > > Greg >=20 > Hi >=20 > I will also investigate. Just add that with assert (2), status > is 2, which means status is VIRTIO_BLK_S_UNSUPP, which means "request > unsupported by host". So, for some reason, ppc64 host does not support > a simple write request. >=20 Hmmm... ppc64 and ppc64el hosts are exactly the same, except for the CPU endianness. And virtio block works very well with ppc64 ! :) -- Greg