From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViQu8-0005YA-Tb for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:38:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViQu2-00051R-RS for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:38:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViQu2-00051K-Jm for qemu-devel@nongnu.org; Mon, 18 Nov 2013 10:38:18 -0500 Date: Mon, 18 Nov 2013 16:38:12 +0100 From: Kevin Wolf Message-ID: <20131118153812.GC5166@dhcp-200-207.str.redhat.com> References: <1384395844-21926-1-git-send-email-famz@redhat.com> <20131118152910.GE4083@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131118152910.GE4083@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: Add "-c " to check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Fam Zheng , qemu-devel@nongnu.org, stefanha@redhat.com Am 18.11.2013 um 16:29 hat Stefan Hajnoczi geschrieben: > On Thu, Nov 14, 2013 at 10:24:04AM +0800, Fam Zheng wrote: > > The default cache mode for drive options is changed to writethrough, and > > overridable with "./check -c ". > > Please make the default "writeback" so that ./check completes more > quickly. Changing the cache mode should be a separate patch. The current default for all shell script based tests is cache=writethrough (can be overridden with -nocache) and Python test cases should respect the same setting. This is also the problem that I see with this patch: It doesn't make '-nocache' an alias of '-c none', but both control different aspects. What should happen is that '-c ' sets QEMU_IO_OPTIONS="$QEMU_IO_OPTIONS -t " like -nocache does today, and the Python scripts should refer to the same cache settings as the bash scripts do. Kevin