xref: /openbmc/qemu/hw/i386/Kconfig (revision 52a7ff52)
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    imply 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    select HV_BALLOON_SUPPORTED
49
50config PC_PCI
51    bool
52    select APIC
53    select IOAPIC
54    select PC
55
56config PC_ACPI
57    bool
58    select ACPI_X86
59    select ACPI_CPU_HOTPLUG
60    select ACPI_MEMORY_HOTPLUG
61    select ACPI_PCI_BRIDGE
62    select ACPI_VIOT
63    select SMBUS_EEPROM
64    select PFLASH_CFI01
65    depends on ACPI_SMBUS
66
67config I440FX
68    bool
69    default y
70    depends on I386
71    imply E1000_PCI
72    imply VMPORT
73    imply VMMOUSE
74    select ACPI_PIIX4
75    select PC_PCI
76    select PC_ACPI
77    select PCI_I440FX
78    select PIIX
79    select DIMM
80    select SMBIOS
81    select SMBIOS_LEGACY
82    select FW_CFG_DMA
83
84config ISAPC
85    bool
86    default y
87    depends on I386
88    imply VGA_ISA
89    select ISA_BUS
90    select PC
91    select IDE_ISA
92    # FIXME: it is in the same file as i440fx, and does not compile
93    # if separated
94    depends on I440FX
95
96config Q35
97    bool
98    default y
99    depends on I386
100    imply VTD
101    imply AMD_IOMMU
102    imply E1000E_PCI_EXPRESS
103    imply VMPORT
104    imply VMMOUSE
105    imply IOMMUFD
106    select PC_PCI
107    select PC_ACPI
108    select PCI_EXPRESS_Q35
109    select LPC_ICH9
110    select AHCI_ICH9
111    select DIMM
112    select SMBIOS
113    select FW_CFG_DMA
114
115config MICROVM
116    bool
117    default y
118    depends on I386 && FDT
119    select DEVICE_TREE
120    select SERIAL_ISA # for serial_hds_isa_init()
121    select ISA_BUS
122    select APIC
123    select IOAPIC
124    select I8259
125    select MC146818RTC
126    select VIRTIO_MMIO
127    select ACPI_HW_REDUCED
128    select PCI_EXPRESS_GENERIC_BRIDGE
129    select USB_XHCI_SYSBUS
130    select I8254
131
132config X86_IOMMU
133    bool
134    depends on PC
135
136config VTD
137    bool
138    select X86_IOMMU
139
140config AMD_IOMMU
141    bool
142    select X86_IOMMU
143
144config VMPORT
145    bool
146
147config VMMOUSE
148    bool
149    depends on VMPORT
150
151config XEN_EMU
152    bool
153    default y
154    depends on KVM && I386
155