summaryrefslogtreecommitdiffstats
path: root/hw/i386/x86.c
diff options
context:
space:
mode:
authorBabu Moger2020-08-31 20:42:54 +0200
committerEduardo Habkost2020-09-02 13:29:26 +0200
commit0a48666a31575f1dc4e4c63f2edaa29c16923fb7 (patch)
treefc63c17bd91facc50248aabeba885ba3d33fbc03 /hw/i386/x86.c
parentRevert "hw/386: Add EPYC mode topology decoding functions" (diff)
downloadqemu-0a48666a31575f1dc4e4c63f2edaa29c16923fb7.tar.gz
qemu-0a48666a31575f1dc4e4c63f2edaa29c16923fb7.tar.xz
qemu-0a48666a31575f1dc4e4c63f2edaa29c16923fb7.zip
Revert "hw/i386: Update structures to save the number of nodes per package"
This reverts commit c24a41bb53c0854d22c96b30d57cfcaa543c409d. Remove the EPYC specific apicid decoding and use the generic default decoding. Signed-off-by: Babu Moger <babu.moger@amd.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <159889937478.21294.4192291354416942986.stgit@naples-babu.amd.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/i386/x86.c')
-rw-r--r--hw/i386/x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/x86.c b/hw/i386/x86.c
index 727c4a0f1d..c1954db152 100644
--- a/hw/i386/x86.c
+++ b/hw/i386/x86.c
@@ -62,7 +62,6 @@ inline void init_topo_info(X86CPUTopoInfo *topo_info,
{
MachineState *ms = MACHINE(x86ms);
- topo_info->nodes_per_pkg = ms->numa_state->num_nodes / ms->smp.sockets;
topo_info->dies_per_pkg = x86ms->smp_dies;
topo_info->cores_per_die = ms->smp.cores;
topo_info->threads_per_core = ms->smp.threads;