From patchwork Wed Nov 13 12:27:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 290907 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0EC182C008F for ; Wed, 13 Nov 2013 23:28:25 +1100 (EST) Received: from localhost ([::1]:48279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgZYU-0007lN-QF for incoming@patchwork.ozlabs.org; Wed, 13 Nov 2013 07:28:22 -0500 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 Received: from ad.nay.redhat.com ([10.66.6.190]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rADCRpX0014878; Wed, 13 Nov 2013 07:27:52 -0500 From: Fam Zheng To: qemu-devel@nongnu.org Date: Wed, 13 Nov 2013 20:27:51 +0800 Message-Id: <1384345671-14866-1-git-send-email-famz@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com, stefanha@redhat.com Subject: [Qemu-devel] [PATCH] qemu-iotests: Use cache=writeback in drive_add X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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: