mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
tests/unit/test-smp-parse: Fix comments of drawers and books case
Fix the comments to match the actual configurations. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Yongwei Ma <yongwei.ma@intel.com> Message-ID: <20240529061925.350323-2-zhao1.liu@intel.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
c0cb5ccc35
commit
94aae6ed21
1 changed files with 4 additions and 4 deletions
|
@ -474,8 +474,8 @@ static const struct SMPTestData data_with_drawers_invalid[] = {
|
||||||
static const struct SMPTestData data_with_drawers_books_invalid[] = {
|
static const struct SMPTestData data_with_drawers_books_invalid[] = {
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* config: -smp 200,drawers=2,books=2,sockets=2,cores=4,\
|
* config: -smp 200,drawers=3,books=5,sockets=2,cores=4,\
|
||||||
* threads=2,maxcpus=200
|
* threads=2,maxcpus=200
|
||||||
*/
|
*/
|
||||||
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 200, T, 3, T, 5, T,
|
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 200, T, 3, T, 5, T,
|
||||||
2, T, 4, T, 2, T, 200),
|
2, T, 4, T, 2, T, 200),
|
||||||
|
@ -485,8 +485,8 @@ static const struct SMPTestData data_with_drawers_books_invalid[] = {
|
||||||
"cores (4) * threads (2) != maxcpus (200)",
|
"cores (4) * threads (2) != maxcpus (200)",
|
||||||
}, {
|
}, {
|
||||||
/*
|
/*
|
||||||
* config: -smp 242,drawers=2,books=2,sockets=2,cores=4,\
|
* config: -smp 242,drawers=3,books=5,sockets=2,cores=4,\
|
||||||
* threads=2,maxcpus=240
|
* threads=2,maxcpus=240
|
||||||
*/
|
*/
|
||||||
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 242, T, 3, T, 5, T,
|
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 242, T, 3, T, 5, T,
|
||||||
2, T, 4, T, 2, T, 240),
|
2, T, 4, T, 2, T, 240),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue