]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
machine: Add SMP Sockets in CpuTopology
authorBabu Moger <babu.moger@amd.com>
Wed, 11 Mar 2020 22:53:06 +0000 (17:53 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 17 Mar 2020 23:48:10 +0000 (19:48 -0400)
commit8cb30e3aec07cb85fe424191e37cf983a2ac5416
treeaa8ddf8acf8e51c08b4bd40966a591ffba82dadf
parentf20dec0b638d1ebb4ef2f71d51ea1c540402bc7c
machine: Add SMP Sockets in CpuTopology

Store the  smp sockets in CpuTopology. The socket information required to
build the apic id in EPYC mode. Right now socket information is not passed
to down when decoding the apic id. Add the socket information here.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <158396718647.58170.2278448323151215741.stgit@naples-babu.amd.com>
hw/core/machine.c
hw/i386/pc.c
include/hw/boards.h
softmmu/vl.c