pc: Require IRQ remapping and EIM if there could be x2APIC CPUs
commit60c5e1040ec2c26e8da4786f7f35fbe2a8b599d1
authorIgor Mammedov <imammedo@redhat.com>
Wed, 19 Oct 2016 12:05:42 +0000 (19 14:05 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 24 Oct 2016 19:29:15 +0000 (24 17:29 -0200)
treed51951aea02e5a7282ed8e8dc96f0404756aea0f
parent080ac219cc7d9c55adf925c3545b7450055ad625
pc: Require IRQ remapping and EIM if there could be x2APIC CPUs

It would prevent starting guest with incorrect configs
where interrupts couldn't be delivered to CPUs with
APIC IDs > 255.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c