[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qemu-iotests: Use cache=writeback in drive_add
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH] qemu-iotests: Use cache=writeback in drive_add |
Date: |
Wed, 13 Nov 2013 20:27:51 +0800 |
This will allow running iotests on tmpfs, which is much faster, so we
can run more tests.
Signed-off-by: Fam Zheng <address@hidden>
---
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
- [Qemu-devel] [PATCH] qemu-iotests: Use cache=writeback in drive_add,
Fam Zheng <=