summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_sysfw.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2016-02-26 14:59:23 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:36 -0600
commitd28cf63ad9864586ef5dcf973fa2560cca0ceded (patch)
tree98059c0541ac2605773759c7bbae0665bd9723f7 /hw/i386/pc_sysfw.c
parent252e1fffd77f5960cb44e99730a3556ab1cbfed3 (diff)
downloadhqemu-d28cf63ad9864586ef5dcf973fa2560cca0ceded.zip
hqemu-d28cf63ad9864586ef5dcf973fa2560cca0ceded.tar.gz
pc: acpi: SRAT: create only valid processor lapic entries
When APIC IDs are sparse*, in addition to valid LAPIC entries the SRAT is also filled invalid ones for non possible APIC IDs. Fix it by asking machine for all possible APIC IDs instead of wrongly assuming that all APIC IDs in range 0..apic_id_limit are possible. * sparse lapic topology CLI: -smp x,sockets=2,cores=3,maxcpus=6 Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc_sysfw.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud