qemu_cpu.cfg: add variants for qemu64/cpu64-rhel* that run on Intel CPUs

As we can't run "-cpu qemu64" and "-cpu cpu64-rhel[56]" on an Intel CPU
host because of the "abm" and "sse4a" flags, add variants that will test
those models by explicitly removing "abm" and "sse4a".

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: don't run full_dump variant on nokvm mode

We don't have CPU dumps for TCG mode yet, so there's no point in
enabling the test on "nokvm" mode.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
dump-cpus-from-qemu: add special cases adding "+apic" flag to some CPU models

They will be useful on some cases where it's not possible to boot a few CPU
models without the "apic" flag.

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
cpuid_dumps: new dumps for "<model>,+apic" cases

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
qemu_cpu.cfg: add special cases for 486/pentium* with apic flag

On some hosts (e.g. when using RHEL-6 seabios version), it is not
possible to boot CPU models without the "apic" flag, so add variants
that allow those CPU models to be tested by explicitly setting the
"apic" flag.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
add variants for host CPU vendor

This way we can exclude some cases if we know they won't work on a
specific system.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
add rhel_major_version variants

This way we can filter test cases depending on the RHEL major version,
too.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: 486 won't boot without "apic" flag, either

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
apic rule redo

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
typo fix variants host_cpu

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
use .. on variants

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
+apic fix

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
redo noabm variants

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
WIP try to make the flag hacking saner

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
don't try to run models without APIC flag on RHEL-6

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
qemu_cpu.cfg: add variants for qemu64/cpu64-rhel* that run on Intel CPUs

As we can't run "-cpu qemu64" and "-cpu cpu64-rhel[56]" on an Intel CPU
host because of the "abm" and "sse4a" flags, add variants that will test
those models by explicitly removing "abm" and "sse4a".

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qemu_cpu.cfg: add special cases for 486/pentium* with apic flag

On some hosts (e.g. when using RHEL-6 seabios version), it is not
possible to boot CPU models without the "apic" flag, so add variants
that allow those CPU models to be tested by explicitly setting the
"apic" flag.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
+apic fix

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
redo noabm variants

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
cpu64-* dumps

Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>