hw/i386/x86: Turn apic_xrupt_override into class attribute
authorBernhard Beschow <shentey@gmail.com>
Thu, 8 Feb 2024 22:03:43 +0000 (23:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:40 +0000 (12:47 +0100)
commit6e6d59a94d44845a6834fd4dcea7530e47365fed
tree0727bbef293dc8b823764ca86728843a62ddda7e
parent859eb5eeb4ac1b451841ad8a193f1454311ff1a6
hw/i386/x86: Turn apic_xrupt_override into class attribute

The attribute isn't user-changeable and only true for pc-based machines. Turn it
into a class attribute which allows for inlining pc_guest_info_init() into
pc_machine_initfn().

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240208220349.4948-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/acpi-common.c
hw/i386/pc.c
include/hw/i386/x86.h