pc: acpi: create Processor and Notify objects only for valid lapics
commit2adba0a18a7950d14827e82d8068c1142ee87789
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Feb 2016 13:59:25 +0000 (26 14:59 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:12 +0000 (11 16:59 +0200)
tree770562967d7019fe387031b8df100cd7279e8066
parent907e7c94d1660cd477741eb449147d4fe243b02f
pc: acpi: create Processor and Notify objects only for valid lapics

do not assume that all lapics in range 0..apic_id_limit
are valid and do not create Processor and Notify objects
for not possible lapics.

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>
hw/i386/acpi-build.c