qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Ani Sinha <anisinha@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
	Thomas Huth <thuth@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	imammedo@redhat.com, qemu-devel@nongnu.org
Subject: Re: [PATCH v3 3/3] tests/qtest/x86: check for availability of older cpu models before running tests
Date: Mon, 10 Jun 2024 10:04:42 +0100	[thread overview]
Message-ID: <ZmbBqouWxvIS8hDZ@redhat.com> (raw)
In-Reply-To: <20240606044419.8806-4-anisinha@redhat.com>

On Thu, Jun 06, 2024 at 10:14:19AM +0530, Ani Sinha wrote:
> It is better to check if some older cpu models like 486, athlon, pentium,
> penryn, phenom, core2duo etc are available before running their corresponding
> tests. Some downstream distributions may no longer support these older cpu
> models.
> 
> Signature of add_feature_test() has been modified to return void as
> FeatureTestArgs* was not used by the caller.
> 
> One minor correction. Replaced 'phenom' with '486' in the test
> 'x86/cpuid/auto-level/phenom/arat' matching the cpu used.
> 
> CC: thuth@redhat.com
> CC: imammedo@redhat.com
> Signed-off-by: Ani Sinha <anisinha@redhat.com>
> ---
>  tests/qtest/test-x86-cpuid-compat.c | 170 ++++++++++++++++++----------
>  1 file changed, 108 insertions(+), 62 deletions(-)
> 
> changelog:
> v2: reworked as per suggestion from danpb.
> v3: reworked as_feature_test() same way as add_cpuid_test()
> 

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



      reply	other threads:[~2024-06-10  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06  4:44 [PATCH v3 0/3] x86 cpu test refactoring Ani Sinha
2024-06-06  4:44 ` [PATCH v3 1/3] qtest/x86/numa-test: do not use the obsolete 'pentium' cpu Ani Sinha
2024-06-06  4:44 ` [PATCH 2/3] tests/qtest/libqtest: add qtest_has_cpu() api Ani Sinha
2024-06-10  9:02   ` Daniel P. Berrangé
2024-06-06  4:44 ` [PATCH v3 3/3] tests/qtest/x86: check for availability of older cpu models before running tests Ani Sinha
2024-06-10  9:04   ` Daniel P. Berrangé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZmbBqouWxvIS8hDZ@redhat.com \
    --to=berrange@redhat.com \
    --cc=anisinha@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).