xref: /openbmc/qemu/hw/i386/Kconfig (revision 436c831a)
1config X86_FW_OVMF
2    bool
3
4config SEV
5    bool
6    select X86_FW_OVMF
7    depends on KVM
8
9config PC
10    bool
11    imply APPLESMC
12    imply HYPERV
13    imply ISA_IPMI_KCS
14    imply ISA_IPMI_BT
15    imply PCI_IPMI_KCS
16    imply PCI_IPMI_BT
17    imply IPMI_SSIF
18    imply ISA_DEBUG
19    imply PARALLEL
20    imply PCI_DEVICES
21    imply PVPANIC_ISA
22    imply QXL
23    imply SEV
24    imply SGA
25    imply TEST_DEVICES
26    imply TPM_CRB
27    imply TPM_TIS_ISA
28    imply VGA_PCI
29    imply VIRTIO_VGA
30    imply NVDIMM
31    select FDC_ISA
32    select I8259
33    select I8254
34    select PCKBD
35    select PCSPK
36    select I8257
37    select MC146818RTC
38    # For ACPI builder:
39    select SERIAL_ISA
40    select ACPI_PCI
41    select ACPI_VMGENID
42    select VIRTIO_PMEM_SUPPORTED
43    select VIRTIO_MEM_SUPPORTED
44
45config PC_PCI
46    bool
47    select APIC
48    select IOAPIC
49    select APM
50    select PC
51
52config PC_ACPI
53    bool
54    select ACPI_X86
55    select ACPI_CPU_HOTPLUG
56    select ACPI_MEMORY_HOTPLUG
57    select SMBUS_EEPROM
58    select PFLASH_CFI01
59    depends on ACPI_SMBUS
60
61config I440FX
62    bool
63    imply E1000_PCI
64    imply VMPORT
65    imply VMMOUSE
66    select PC_PCI
67    select PC_ACPI
68    select ACPI_SMBUS
69    select PCI_I440FX
70    select PIIX3
71    select IDE_PIIX
72    select DIMM
73    select SMBIOS
74    select FW_CFG_DMA
75
76config ISAPC
77    bool
78    select ISA_BUS
79    select PC
80    select IDE_ISA
81    select VGA_ISA
82    # FIXME: it is in the same file as i440fx, and does not compile
83    # if separated
84    depends on I440FX
85
86config Q35
87    bool
88    imply VTD
89    imply AMD_IOMMU
90    imply E1000E_PCI_EXPRESS
91    imply VMPORT
92    imply VMMOUSE
93    select PC_PCI
94    select PC_ACPI
95    select PCI_EXPRESS_Q35
96    select LPC_ICH9
97    select AHCI_ICH9
98    select DIMM
99    select SMBIOS
100    select FW_CFG_DMA
101
102config MICROVM
103    bool
104    select SERIAL_ISA # for serial_hds_isa_init()
105    select ISA_BUS
106    select APIC
107    select IOAPIC
108    select I8259
109    select MC146818RTC
110    select VIRTIO_MMIO
111    select ACPI_HW_REDUCED
112    select PCI_EXPRESS_GENERIC_BRIDGE
113    select USB_XHCI_SYSBUS
114    select I8254
115
116config X86_IOMMU
117    bool
118    depends on PC
119
120config VTD
121    bool
122    select X86_IOMMU
123
124config AMD_IOMMU
125    bool
126    select X86_IOMMU
127
128config VMPORT
129    bool
130
131config VMMOUSE
132    bool
133    depends on VMPORT
134