[PATCH] cputest: Skip test for Intel(R) Xeon(R) 6788P CPU when QEMU driver is disabled

Jaroslav Suchanek via Devel posted 1 patch 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20251121122452.501-1-jsuchane@redhat.com
tests/cputest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cputest: Skip test for Intel(R) Xeon(R) 6788P CPU when QEMU driver is disabled
Posted by Jaroslav Suchanek via Devel 3 weeks ago
From: Jaroslav Suchanek <jsuchane@redhat.com>

Commit 034f02d25cd8de8c7875d7b12e762df4809a8418 added new test for the
Intel(R) Xeon(R) 6788P cpu model. The test depends on QEMU driver. If
the driver is not available, then skip it. Similarly as in commit
c22b73411732b9a135923c19b7784c7c48729042.

Signed-off-by: Jaroslav Suchanek <jsuchane@redhat.com>
---
 tests/cputest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cputest.c b/tests/cputest.c
index 16bbae7ba5..a7d6ea8736 100644
--- a/tests/cputest.c
+++ b/tests/cputest.c
@@ -1226,7 +1226,7 @@ mymain(void)
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Ryzen-9-9950X-16-Core", JSON_MODELS);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-5110", JSON_NONE);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6731E", JSON_MODELS);
-    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6788P", JSON_MODELS);
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6788P", JSON_MODELS_REQUIRED);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-Bronze-3408U", JSON_MODELS_REQUIRED);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1225-v5", JSON_MODELS);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245-v5", JSON_MODELS);
-- 
2.50.1 (Apple Git-155)
Re: [PATCH] cputest: Skip test for Intel(R) Xeon(R) 6788P CPU when QEMU driver is disabled
Posted by Jiri Denemark via Devel 3 weeks ago
On Fri, Nov 21, 2025 at 13:24:47 +0100, Jaroslav Suchanek wrote:
> From: Jaroslav Suchanek <jsuchane@redhat.com>
> 
> Commit 034f02d25cd8de8c7875d7b12e762df4809a8418 added new test for the
> Intel(R) Xeon(R) 6788P cpu model. The test depends on QEMU driver. If
> the driver is not available, then skip it. Similarly as in commit
> c22b73411732b9a135923c19b7784c7c48729042.
> 
> Signed-off-by: Jaroslav Suchanek <jsuchane@redhat.com>
> ---
>  tests/cputest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/cputest.c b/tests/cputest.c
> index 16bbae7ba5..a7d6ea8736 100644
> --- a/tests/cputest.c
> +++ b/tests/cputest.c
> @@ -1226,7 +1226,7 @@ mymain(void)
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Ryzen-9-9950X-16-Core", JSON_MODELS);
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-5110", JSON_NONE);
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6731E", JSON_MODELS);
> -    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6788P", JSON_MODELS);
> +    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-6788P", JSON_MODELS_REQUIRED);
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-Bronze-3408U", JSON_MODELS_REQUIRED);
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1225-v5", JSON_MODELS);
>      DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245-v5", JSON_MODELS);
> -- 
> 2.50.1 (Apple Git-155)

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>