i386-softmmu.mak: remove all CONFIG_* except boards definitions

%-softmmu.mak only keep boards definitions in Kconfig mode.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20190123065618.3520-43-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Yang Zhong 2019-01-23 14:56:16 +08:00 committed by Paolo Bonzini
parent dd2356e531
commit 58accbc508
6 changed files with 43 additions and 19 deletions

View File

@ -1,25 +1,24 @@
# Default configuration for i386-softmmu
CONFIG_VMXNET3_PCI=y
CONFIG_ISA_IPMI_KCS=y
CONFIG_ISA_IPMI_BT=y
# Optional devices:
# Uncomment the following lines to disable these optional devices:
#
CONFIG_HPET=y
CONFIG_APPLESMC=y
CONFIG_PFLASH_CFI01=y
CONFIG_ISA_DEBUG=y
CONFIG_ISA_TESTDEV=y
CONFIG_TEST_DEVICES=y
CONFIG_SGA=y
CONFIG_PVPANIC=y
CONFIG_MEM_DEVICE=y
CONFIG_NVDIMM=y
CONFIG_ACPI_NVDIMM=y
CONFIG_PXB=y
CONFIG_ACPI_VMGENID=y
CONFIG_PCI_DEVICES=y
#CONFIG_AMD_IOMMU=n
#CONFIG_APPLESMC=n
#CONFIG_FDC=n
#CONFIG_HPET=n
#CONFIG_HYPERV=n
#CONFIG_ISA_DEBUG=n
#CONFIG_ISA_IPMI_BT=n
#CONFIG_ISA_IPMI_KCS=n
#CONFIG_PCI_DEVICES=n
#CONFIG_PVPANIC=n
#CONFIG_QXL=n
#CONFIG_SEV=n
#CONFIG_SGA=n
#CONFIG_TEST_DEVICES=n
#CONFIG_TPM_CRB=n
#CONFIG_TPM_TIS=n
#CONFIG_VTD=n
# Boards:
#

View File

@ -4,6 +4,9 @@ config ACPI
config ACPI_X86
bool
select ACPI
select ACPI_NVDIMM
select ACPI_CPU_HOTPLUG
select ACPI_MEMORY_HOTPLUG
config ACPI_X86_ICH
bool
@ -18,6 +21,9 @@ config ACPI_MEMORY_HOTPLUG
config ACPI_NVDIMM
bool
depends on ACPI
config ACPI_VMGENID
bool
default y
depends on PC

View File

@ -4,18 +4,32 @@ config SEV
config PC
bool
imply APPLESMC
imply HYPERV
imply ISA_IPMI_KCS
imply ISA_IPMI_BT
imply ISA_DEBUG
imply PCI_DEVICES
imply PVPANIC
imply QXL
imply SEV
imply SGA
imply TEST_DEVICES
imply TPM_CRB
imply TPM_TIS
select FDC
select I8259
select I8254
select PCKBD
select PCSPK
select I82374
select I8257
select MC146818RTC
# Needed by the board code:
select PARALLEL
# For ACPI builder:
select SERIAL_ISA
select ACPI_VMGENID
config PC_PCI
bool
@ -30,6 +44,7 @@ config PC_ACPI
select ACPI_CPU_HOTPLUG
select ACPI_MEMORY_HOTPLUG
select SMBUS_EEPROM
select PFLASH_CFI01
depends on ACPI_SMBUS
config I440FX

View File

@ -6,3 +6,5 @@ config MEM_DEVICE
config NVDIMM
bool
default y
depends on PC

View File

@ -5,6 +5,7 @@ config PCIE_PORT
config PXB
bool
default y if Q35
config XIO3130
bool

View File

@ -15,6 +15,7 @@ config DS1338
config HPET
bool
default y if PC
config I8254
bool