Files
qemu-esp-boards/include/hw
Zhao Liu a1d027be95 machine: Add helpers to get cores/threads per socket
The number of cores/threads per socket are needed for smbios, and are
also useful for other modules.

Provide the helpers to wrap the calculation of cores/threads per socket
so that we can avoid calculation errors caused by other modules miss
topology changes.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20230628135437.1145805-2-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-07-10 16:17:08 -04:00
..
2023-03-24 11:45:46 +01:00
2023-01-08 01:54:22 -05:00
2023-03-24 11:45:33 +01:00
2023-02-08 07:16:23 +01:00
2023-07-07 06:32:53 -03:00
2023-01-08 01:54:22 -05:00
2023-06-15 16:46:47 -07:00
2023-03-20 12:43:50 +01:00
2023-03-20 12:43:50 +01:00
2022-11-08 11:13:48 +01:00