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