Add a new library api to check for the support of a specific cpu type. Used the new api to check support for some older x86 cpu models before running the tests.
CC: th...@redhat.com CC: imamm...@redhat.com CC: qemu-devel@nongnu.org CC: pbonz...@redhat.com CC: lviv...@redhat.com CC: m...@redhat.com Ani Sinha (3): qtest/x86/numa-test: do not use the obsolete 'pentium' cpu tests/qtest/libqtest: add qtest_has_cpu() api tests/qtest/x86: check for availability of older cpu models before running tests tests/qtest/libqtest.c | 84 +++++++++++++++ tests/qtest/libqtest.h | 8 ++ tests/qtest/numa-test.c | 3 +- tests/qtest/test-x86-cpuid-compat.c | 159 +++++++++++++++++----------- 4 files changed, 192 insertions(+), 62 deletions(-) -- 2.42.0