提交 a16e6f1c 编写于 作者: E Eduardo Habkost 提交者: Lucas Meneghel Rodrigues

qemu_cpu.cfg: disable qemu-version-specific test cases by default

Instead of just defining rhel64 and qemu13 and enabling both by default,
define rhel64, qemu13, and unknown_qemu.

unknown_qemu will be enabled by default, so we don't test for things
that may fail on non-RHEL-6 or non-qemu-1.3 hosts. This should make the
tests work by default on most hosts, until we implement some kind of
host-based autoconfiguration system.
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
上级 15bd768e
......@@ -3,22 +3,33 @@
type = cpuid
start_vm = "no"
smp = 1
# uncomment the following line if you don't have a RHEL-6 QEMU:
#no rhel64
# QEMU versions:
variants:
- unknown_qemu:
- rhel64:
- qemu13:
# uncomment the line corresponding to the QEMU version, if you know it:
only unknown_qemu
#only rhel64
#only qemu13
variants:
- check_models:
test_type = "test_qemu_cpu_models_list"
# we don't know if all models will be available if QEMU
# version is unknown:
no unknown_qemu
cpu_models = "qemu64 phenom core2duo kvm64 qemu32"
cpu_models += " coreduo 486 pentium pentium2"
cpu_models += " pentium3 athlon n270 Conroe Penryn"
cpu_models += " Nehalem Westmere SandyBridge Haswell"
cpu_models += " Opteron_G1 Opteron_G2 Opteron_G3"
cpu_models += " Opteron_G4 Opteron_G5"
variants:
- rhel64:
cpu_models += " cpu64-rhel6 cpu64-rhel5"
- qemu13:
cpu_models += " kvm32"
rhel64:
cpu_models += " cpu64-rhel6 cpu64-rhel5"
qemu13:
cpu_models += " kvm32"
- default.vendor:
test_type = "default_vendor"
variants:
......@@ -31,6 +42,9 @@
# kvm by default overides vendor with host's value
- nokvm:
disable_kvm = "yes"
# we don't know if all models will be available if QEMU
# version is unknown:
no unknown_qemu
variants:
- intel:
vendor = "GenuineIntel"
......@@ -45,10 +59,8 @@
cpu_models += " Opteron_G1 Opteron_G2"
cpu_models += " Opteron_G3 Opteron_G4"
cpu_models += " Opteron_G5"
variants:
- qemu13:
- rhel64:
cpu_models += " cpu64-rhel6 cpu64-rhel5"
rhel64:
cpu_models += " cpu64-rhel6 cpu64-rhel5"
# CPUID data tests:
- cpuid.custom:
disable_kvm = yes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册