diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2023-10-23 17:46:20 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-11-07 03:39:11 -0500 |
commit | 7d5936791ea349d9cef856babcce28470966bfa4 (patch) | |
tree | 4048bdb645487a67dda8b2250716c942ee0de55a /ui/dbus-console.c | |
parent | 07eba9493d14b3ba371e64392effc384246892ea (diff) | |
download | qemu-7d5936791ea349d9cef856babcce28470966bfa4.zip qemu-7d5936791ea349d9cef856babcce28470966bfa4.tar.gz qemu-7d5936791ea349d9cef856babcce28470966bfa4.tar.bz2 |
tests: test-smp-parse: Add the test for cores/threads per socket helpers
Use the different ways to calculate cores/threads per socket, so that
the new CPU topology levels won't be missed in these 2 helpes:
* machine_topo_get_cores_per_socket()
* machine_topo_get_threads_per_socket()
Test the commit a1d027be95bc3 ("machine: Add helpers to get cores/
threads per socket").
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231023094635.1588282-2-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'ui/dbus-console.c')
0 files changed, 0 insertions, 0 deletions