xref: /openbmc/qemu/hw/i386/Kconfig (revision fa3673e4)
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 TEST_DEVICES
30    imply TPM_CRB
31    imply TPM_TIS_ISA
32    imply VGA_PCI
33    imply VIRTIO_VGA
34    imply NVDIMM
35    select FDC_ISA
36    select I8259
37    select I8254
38    select PCKBD
39    select PCSPK
40    select I8257
41    select MC146818RTC
42    # For ACPI builder:
43    select SERIAL_ISA
44    select ACPI_PCI
45    select ACPI_VMGENID
46    select VIRTIO_PMEM_SUPPORTED
47    select VIRTIO_MEM_SUPPORTED
48
49config PC_PCI
50    bool
51    select APIC
52    select IOAPIC
53    select PC
54
55config PC_ACPI
56    bool
57    select ACPI_X86
58    select ACPI_CPU_HOTPLUG
59    select ACPI_MEMORY_HOTPLUG
60    select ACPI_PCI_BRIDGE
61    select ACPI_VIOT
62    select SMBUS_EEPROM
63    select PFLASH_CFI01
64    depends on ACPI_SMBUS
65
66config I440FX
67    bool
68    imply E1000_PCI
69    imply VMPORT
70    imply VMMOUSE
71    select ACPI_PIIX4
72    select PC_PCI
73    select PC_ACPI
74    select PCI_I440FX
75    select PIIX
76    select DIMM
77    select SMBIOS
78    select FW_CFG_DMA
79
80config ISAPC
81    bool
82    imply VGA_ISA
83    select ISA_BUS
84    select PC
85    select IDE_ISA
86    # FIXME: it is in the same file as i440fx, and does not compile
87    # if separated
88    depends on I440FX
89
90config Q35
91    bool
92    imply VTD
93    imply AMD_IOMMU
94    imply E1000E_PCI_EXPRESS
95    imply VMPORT
96    imply VMMOUSE
97    select PC_PCI
98    select PC_ACPI
99    select PCI_EXPRESS_Q35
100    select LPC_ICH9
101    select AHCI_ICH9
102    select DIMM
103    select SMBIOS
104    select FW_CFG_DMA
105
106config MICROVM
107    bool
108    select SERIAL_ISA # for serial_hds_isa_init()
109    select ISA_BUS
110    select APIC
111    select IOAPIC
112    select I8259
113    select MC146818RTC
114    select VIRTIO_MMIO
115    select ACPI_HW_REDUCED
116    select PCI_EXPRESS_GENERIC_BRIDGE
117    select USB_XHCI_SYSBUS
118    select I8254
119
120config X86_IOMMU
121    bool
122    depends on PC
123
124config VTD
125    bool
126    select X86_IOMMU
127
128config AMD_IOMMU
129    bool
130    select X86_IOMMU
131
132config VMPORT
133    bool
134
135config VMMOUSE
136    bool
137    depends on VMPORT
138
139config XEN_EMU
140    bool
141    default y
142    depends on KVM && (I386 || X86_64)
143