bios-tables-test: add test for number of cores > 255
commit2d80b33843c71dbe5c250d712a1ccafafb2b3520
authorJulia Suvorova <jusual@redhat.com>
Tue, 11 Oct 2022 11:17:30 +0000 (11 13:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 19:08:18 +0000 (7 14:08 -0500)
tree8fc83c2092f3f1889737cd0b83b788d9fcbe052d
parent159a0da5b0bd660f8a70bca4e3c2bd4c863eaf1a
bios-tables-test: add test for number of cores > 255

The new test is run with a large number of cpus and checks if the
core_count field in smbios_cpu_test (structure type 4) is correct.

Choose q35 as it allows to run with -smp > 255.

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20220731162141.178443-5-jusual@redhat.com>
Message-Id: <20221011111731.101412-5-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
tests/qtest/bios-tables-test.c