From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgZY9-0007kF-34 for qemu-devel@nongnu.org; Wed, 13 Nov 2013 07:28:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgZY2-00045h-Er for qemu-devel@nongnu.org; Wed, 13 Nov 2013 07:28:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:19728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgZY2-00045b-6j for qemu-devel@nongnu.org; Wed, 13 Nov 2013 07:27:54 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rADCRroo023745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Nov 2013 07:27:53 -0500 From: Fam Zheng Date: Wed, 13 Nov 2013 20:27:51 +0800 Message-Id: <1384345671-14866-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] qemu-iotests: Use cache=writeback in drive_add List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com This will allow running iotests on tmpfs, which is much faster, so we can run more tests. Signed-off-by: Fam Zheng --- tests/qemu-iotests/iotests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index fb10ff4..c29314a 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -96,7 +96,7 @@ class VM(object): '''Add a virtio-blk drive to the VM''' options = ['if=virtio', 'format=%s' % imgfmt, - 'cache=none', + 'cache=writeback', 'file=%s' % path, 'id=drive%d' % self._num_drives] if opts: -- 1.8.4.2