qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 3/3] tests/qtest/x86: check for availability of older cpu


From: Daniel P . Berrangé
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
User-agent: Mutt/2.2.12 (2023-09-09)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]