aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2024-05-29 14:19:18 +0800
committerThomas Huth <thuth@redhat.com>2024-06-12 12:10:57 +0200
commit94aae6ed218e962095bfe37efe5ae5ca6f30d9a2 (patch)
tree0ab8aa925fe3399574113747a6ea326a6e2d5b3a
parentc0cb5ccc35cd24858bee16942ac04d60b4ae37da (diff)
downloadqemu-94aae6ed218e962095bfe37efe5ae5ca6f30d9a2.zip
qemu-94aae6ed218e962095bfe37efe5ae5ca6f30d9a2.tar.gz
qemu-94aae6ed218e962095bfe37efe5ae5ca6f30d9a2.tar.bz2
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>
-rw-r--r--tests/unit/test-smp-parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/test-smp-parse.c b/tests/unit/test-smp-parse.c
index 9fdba24..fa8e7d8 100644
--- a/tests/unit/test-smp-parse.c
+++ b/tests/unit/test-smp-parse.c
@@ -474,8 +474,8 @@ static const struct SMPTestData data_with_drawers_invalid[] = {
static const struct SMPTestData data_with_drawers_books_invalid[] = {
{
/*
- * config: -smp 200,drawers=2,books=2,sockets=2,cores=4,\
- * threads=2,maxcpus=200
+ * config: -smp 200,drawers=3,books=5,sockets=2,cores=4,\
+ * threads=2,maxcpus=200
*/
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 200, T, 3, T, 5, T,
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)",
}, {
/*
- * config: -smp 242,drawers=2,books=2,sockets=2,cores=4,\
- * threads=2,maxcpus=240
+ * config: -smp 242,drawers=3,books=5,sockets=2,cores=4,\
+ * threads=2,maxcpus=240
*/
.config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 242, T, 3, T, 5, T,
2, T, 4, T, 2, T, 240),