mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
859eb5eeb4
commit
6e6d59a94d
3 changed files with 6 additions and 5 deletions
|
@ -34,6 +34,8 @@ struct X86MachineClass {
|
|||
bool save_tsc_khz;
|
||||
/* use DMA capable linuxboot option rom */
|
||||
bool fwcfg_dma_enabled;
|
||||
/* CPU and apic information: */
|
||||
bool apic_xrupt_override;
|
||||
};
|
||||
|
||||
struct X86MachineState {
|
||||
|
@ -57,7 +59,6 @@ struct X86MachineState {
|
|||
uint64_t above_4g_mem_start;
|
||||
|
||||
/* CPU and apic information: */
|
||||
bool apic_xrupt_override;
|
||||
unsigned pci_irq_mask;
|
||||
unsigned apic_id_limit;
|
||||
uint16_t boot_cpus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue