mbox series

[0/3] x86 cpu test refactoring

Message ID 20240605072512.67692-1-anisinha@redhat.com (mailing list archive)
Headers show
Series x86 cpu test refactoring | expand

Message

Ani Sinha June 5, 2024, 7:25 a.m. UTC
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: thuth@redhat.com
CC: imammedo@redhat.com
CC: qemu-devel@nongnu.org
CC: pbonzini@redhat.com
CC: lvivier@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 | 214 +++++++++++++++++-----------
 4 files changed, 221 insertions(+), 88 deletions(-)