From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eboMB-0006NO-R6 for qemu-devel@nongnu.org; Wed, 17 Jan 2018 09:06:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eboM4-0000vH-4Q for qemu-devel@nongnu.org; Wed, 17 Jan 2018 09:06:23 -0500 Date: Wed, 17 Jan 2018 09:05:59 -0500 From: Jeff Cody Message-ID: <20180117140559.GA1477@localhost.localdomain> References: <20180117135015.15051-1-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180117135015.15051-1-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] iotests: Make 200 run on tmpfs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi , Kevin Wolf On Wed, Jan 17, 2018 at 02:50:15PM +0100, Max Reitz wrote: > 200 currently fails on tmpfs because it sets cache=none. However, > without that (and aio=native), the test still works now and it fails > before Jeff's series (on fc7dbc119e0852a70dc9fa68bb41a318e49e4cd6). So > we can probably remove the aio=native safely, and replace cache=none by > cache=$CACHEMODE. > > Signed-off-by: Max Reitz Tested-by, and: Reviewed-by: Jeff Cody > --- > v2: Use cache=$CACHEMODE instead of dropping it altogether [Stefan] > --- > tests/qemu-iotests/200 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/qemu-iotests/200 b/tests/qemu-iotests/200 > index d8787ddb46..ddbdedc476 100755 > --- a/tests/qemu-iotests/200 > +++ b/tests/qemu-iotests/200 > @@ -60,7 +60,7 @@ qemu_comm_method="qmp" > _launch_qemu -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 \ > -object iothread,id=iothread0 \ > -device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 \ > - -drive file="${TEST_IMG}",media=disk,if=none,cache=none,id=drive_sysdisk,aio=native,format=$IMGFMT \ > + -drive file="${TEST_IMG}",media=disk,if=none,cache=$CACHEMODE,id=drive_sysdisk,format=$IMGFMT \ > -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 > h1=$QEMU_HANDLE > > -- > 2.14.3 >