|
|
9ae3a8 |
From 0b8d9819cfe455e9ff4c2c77de1dd8069d00ce9c Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
Message-Id: <0b8d9819cfe455e9ff4c2c77de1dd8069d00ce9c.1418766606.git.jen@redhat.com>
|
|
|
9ae3a8 |
In-Reply-To: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
|
|
|
9ae3a8 |
References: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
|
|
|
9ae3a8 |
From: Fam Zheng <famz@redhat.com>
|
|
|
9ae3a8 |
Date: Thu, 4 Dec 2014 00:04:59 -0600
|
|
|
9ae3a8 |
Subject: [CHANGE 05/31] qemu-iotests: Add _unsupported_imgopts for vmdk
|
|
|
9ae3a8 |
subformats
|
|
|
9ae3a8 |
To: rhvirt-patches@redhat.com,
|
|
|
9ae3a8 |
jen@redhat.com
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Fam Zheng <famz@redhat.com>
|
|
|
9ae3a8 |
Message-id: <1417651524-18041-6-git-send-email-famz@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 62678
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.1 qemu-kvm PATCH v5 05/30] qemu-iotests: Add _unsupported_imgopts for vmdk subformats
|
|
|
9ae3a8 |
Bugzilla: 1002493
|
|
|
9ae3a8 |
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Max Reitz <mreitz@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Some cases are not applicable for vmdk subformats those don't support
|
|
|
9ae3a8 |
certain features, e.g. backing file, and some others can't run on
|
|
|
9ae3a8 |
mult-file image, e.g. monolithicFlat. This adds declaration in test
|
|
|
9ae3a8 |
cases to skip them automatically, so that iotests on vmdk can go
|
|
|
9ae3a8 |
more smoothly (without manually picking of cases for each subformat).
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
9ae3a8 |
(cherry picked from commit d2329f27c9c8408d4134c7243313dbaa37270384)
|
|
|
9ae3a8 |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Jeff E. Nelson <jen@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
tests/qemu-iotests/017 | 1 +
|
|
|
9ae3a8 |
tests/qemu-iotests/018 | 1 +
|
|
|
9ae3a8 |
tests/qemu-iotests/019 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/020 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/034 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/037 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/059 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/063 | 3 +++
|
|
|
9ae3a8 |
tests/qemu-iotests/069 | 1 +
|
|
|
9ae3a8 |
9 files changed, 21 insertions(+)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/017 b/tests/qemu-iotests/017
|
|
|
9ae3a8 |
index aba3faf..3af3cdf 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/017
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/017
|
|
|
9ae3a8 |
@@ -43,6 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
TEST_OFFSETS="0 4294967296"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/018 b/tests/qemu-iotests/018
|
|
|
9ae3a8 |
index 15fcfe5..6f7f054 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/018
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/018
|
|
|
9ae3a8 |
@@ -43,6 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
TEST_OFFSETS="0 4294967296"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/019 b/tests/qemu-iotests/019
|
|
|
9ae3a8 |
index 5bb18d0..b43e70f 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/019
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/019
|
|
|
9ae3a8 |
@@ -47,6 +47,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
TEST_OFFSETS="0 4294967296"
|
|
|
9ae3a8 |
CLUSTER_SIZE=65536
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020
|
|
|
9ae3a8 |
index b3c86d8..73a0429 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/020
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/020
|
|
|
9ae3a8 |
@@ -45,6 +45,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
TEST_OFFSETS="0 4294967296"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/034 b/tests/qemu-iotests/034
|
|
|
9ae3a8 |
index 67f1959..7349789 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/034
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/034
|
|
|
9ae3a8 |
@@ -41,6 +41,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
CLUSTER_SIZE=4k
|
|
|
9ae3a8 |
size=128M
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/037 b/tests/qemu-iotests/037
|
|
|
9ae3a8 |
index 743bae3..e444349 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/037
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/037
|
|
|
9ae3a8 |
@@ -41,6 +41,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
CLUSTER_SIZE=4k
|
|
|
9ae3a8 |
size=128M
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059
|
|
|
9ae3a8 |
index c8d92a0..9ef848b 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/059
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/059
|
|
|
9ae3a8 |
@@ -42,6 +42,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt vmdk
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
capacity_offset=16
|
|
|
9ae3a8 |
granularity_offset=20
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/063 b/tests/qemu-iotests/063
|
|
|
9ae3a8 |
index 2ab8f20..77503a2 100644
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/063
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/063
|
|
|
9ae3a8 |
@@ -44,6 +44,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt qcow qcow2 vmdk qed raw
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentFlat" \
|
|
|
9ae3a8 |
+ "subformat=twoGbMaxExtentSparse"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
_make_test_img 4M
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/tests/qemu-iotests/069 b/tests/qemu-iotests/069
|
|
|
9ae3a8 |
index 3042803..50347d9 100755
|
|
|
9ae3a8 |
--- a/tests/qemu-iotests/069
|
|
|
9ae3a8 |
+++ b/tests/qemu-iotests/069
|
|
|
9ae3a8 |
@@ -41,6 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
9ae3a8 |
_supported_fmt cow qed qcow qcow2 vmdk
|
|
|
9ae3a8 |
_supported_proto generic
|
|
|
9ae3a8 |
_supported_os Linux
|
|
|
9ae3a8 |
+_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
IMG_SIZE=128K
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
2.1.0
|
|
|
9ae3a8 |
|