]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/unit/test-smp-parse: Drop the unsupported "dies=1" case
authorZhao Liu <zhao1.liu@intel.com>
Fri, 8 Mar 2024 16:01:39 +0000 (00:01 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (19:17 +0100)
Unsupported "parameter=1" SMP configurations is marked as deprecated,
so drop the related test case.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240308160148.3130837-5-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/unit/test-smp-parse.c

index 24972666a74da36c96c4c0028553979715c7e7f9..1874bea086099531f47ccb01aea72d76fcc4c143 100644 (file)
@@ -607,11 +607,6 @@ static void test_generic_valid(const void *opaque)
         unsupported_params_init(mc, &data);
 
         smp_parse_test(ms, &data, true);
-
-        /* Unsupported parameters can be provided with their values as 1 */
-        data.config.has_dies = true;
-        data.config.dies = 1;
-        smp_parse_test(ms, &data, true);
     }
 
     object_unref(obj);