tests/unit/test-smp-parse: Test "books" parameter in -smp
commitf0fe1cd8b8e48abc3b7948dada49de9016323019
authorZhao Liu <zhao1.liu@intel.com>
Fri, 8 Mar 2024 16:01:43 +0000 (9 00:01 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (9 19:17 +0100)
treedd312c386fd76bd3170747a0279ff527f085a07d
parentdc583442dc877223d0ed09b1e33caf3d2bebe589
tests/unit/test-smp-parse: Test "books" parameter in -smp

Although book was introduced to -smp along with drawer by s390 machine,
as a general topology level in QEMU that may be reused by other arches
in the future, it is desirable to cover this parameter's parsing in a
separate case.

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