diff options
author | Julia Suvorova <jusual@redhat.com> | 2022-10-11 13:17:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-11-07 14:08:17 -0500 |
commit | 05e27d74c7dc5318367521f020bf0d4a32228dcc (patch) | |
tree | 61751de8d24f9085d663597e62a1242740031a70 /cpu.c | |
parent | 923b8921d210763359e96246a58658ac0db6c645 (diff) | |
download | qemu-05e27d74c7dc5318367521f020bf0d4a32228dcc.zip qemu-05e27d74c7dc5318367521f020bf0d4a32228dcc.tar.gz qemu-05e27d74c7dc5318367521f020bf0d4a32228dcc.tar.bz2 |
hw/smbios: add core_count2 to smbios table type 4
In order to use the increased number of cpus, we need to bring smbios
tables in line with the SMBIOS 3.0 specification. This allows us to
introduce core_count2 which acts as a duplicate of core_count if we have
fewer cores than 256, and contains the actual core number per socket if
we have more.
core_enabled2 and thread_count2 fields work the same way.
Signed-off-by: Julia Suvorova <jusual@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220731162141.178443-2-jusual@redhat.com>
Message-Id: <20221011111731.101412-2-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions