aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/137
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2018-02-05 16:33:39 +0200
committerMax Reitz <mreitz@redhat.com>2018-02-13 17:00:00 +0100
commit03b1b6f0220d5f50471a1f702bedcd789fee032d (patch)
tree602464f0b44dea82bcf47bb06dd2255ee19daeb9 /tests/qemu-iotests/137
parent2ecec91110e605d3b2d3d15d6fb9beaf6c96ada6 (diff)
downloadqemu-03b1b6f0220d5f50471a1f702bedcd789fee032d.zip
qemu-03b1b6f0220d5f50471a1f702bedcd789fee032d.tar.gz
qemu-03b1b6f0220d5f50471a1f702bedcd789fee032d.tar.bz2
iotests: Add l2-cache-entry-size to iotest 137
This test tries reopening a qcow2 image with valid and invalid options. This patch adds l2-cache-entry-size to the set. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 3d3b7d2dbfc020deaef60fb58739b0801eb9517c.1517840877.git.berto@igalia.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/137')
-rwxr-xr-xtests/qemu-iotests/1375
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/137 b/tests/qemu-iotests/137
index 5a01250..8796562 100755
--- a/tests/qemu-iotests/137
+++ b/tests/qemu-iotests/137
@@ -83,6 +83,9 @@ $QEMU_IO \
-c "reopen -o overlap-check.inactive-l2=off" \
-c "reopen -o cache-size=1M" \
-c "reopen -o l2-cache-size=512k" \
+ -c "reopen -o l2-cache-entry-size=512" \
+ -c "reopen -o l2-cache-entry-size=4k" \
+ -c "reopen -o l2-cache-entry-size=64k" \
-c "reopen -o refcount-cache-size=128k" \
-c "reopen -o cache-clean-interval=5" \
-c "reopen -o cache-clean-interval=0" \
@@ -107,6 +110,8 @@ $QEMU_IO \
-c "reopen -o cache-size=1M,l2-cache-size=2M" \
-c "reopen -o cache-size=1M,refcount-cache-size=2M" \
-c "reopen -o l2-cache-size=256T" \
+ -c "reopen -o l2-cache-entry-size=33k" \
+ -c "reopen -o l2-cache-entry-size=128k" \
-c "reopen -o refcount-cache-size=256T" \
-c "reopen -o overlap-check=constant,overlap-check.template=all" \
-c "reopen -o overlap-check=blubb" \