diff options
author | Igor Mammedov <imammedo@redhat.com> | 2016-02-26 14:59:23 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:36 -0600 |
commit | d28cf63ad9864586ef5dcf973fa2560cca0ceded (patch) | |
tree | 98059c0541ac2605773759c7bbae0665bd9723f7 /qemu-io.c | |
parent | 252e1fffd77f5960cb44e99730a3556ab1cbfed3 (diff) | |
download | hqemu-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 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions