diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-25 06:48:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-07 21:45:53 +0100 |
commit | c3a98aa54c734dcb7a36d193c6330d8f04d4bf8e (patch) | |
tree | a6035ba138512c2d14abfd4ccd1c4c299b2181d7 | |
parent | f349474920d80838ecea3d421531fdb0660b8740 (diff) |
kconfig: introduce CONFIG_TEST_DEVICES
Devices that are mostly used for testing purposes (for example in
endianness-test) will be moved under a new symbol CONFIG_TEST_DEVICES
that can be disabled in the default-configs file. This makes
it easier to drop this code from QEMU if desirable.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | default-configs/alpha-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/i386-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/mips-softmmu-common.mak | 1 | ||||
-rw-r--r-- | default-configs/ppc-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/sh4-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/sh4eb-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/sparc64-softmmu.mak | 1 | ||||
-rw-r--r-- | hw/Kconfig | 3 |
8 files changed, 10 insertions, 0 deletions
diff --git a/default-configs/alpha-softmmu.mak b/default-configs/alpha-softmmu.mak index 49cb7ce351..74501ca64e 100644 --- a/default-configs/alpha-softmmu.mak +++ b/default-configs/alpha-softmmu.mak @@ -18,5 +18,6 @@ CONFIG_IDE_CMD646=y CONFIG_I8259=y CONFIG_MC146818RTC=y CONFIG_ISA_TESTDEV=y +CONFIG_TEST_DEVICES=y CONFIG_SMC37C669=y CONFIG_DP264=y diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak index 412c8c5b4f..1d43fb2dcf 100644 --- a/default-configs/i386-softmmu.mak +++ b/default-configs/i386-softmmu.mak @@ -4,6 +4,7 @@ include pci.mak include sound.mak include usb.mak include hyperv.mak +CONFIG_TEST_DEVICES=y CONFIG_VGA_ISA=y CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak index ded74980e1..331bdc5c18 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -41,3 +41,4 @@ CONFIG_MALTA=y CONFIG_MIPSSIM=y CONFIG_ACPI_SMBUS=y CONFIG_SMBUS_EEPROM=y +CONFIG_TEST_DEVICES=y diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index 90118cb767..a58d81a829 100644 --- a/default-configs/ppc-softmmu.mak +++ b/default-configs/ppc-softmmu.mak @@ -3,6 +3,7 @@ include pci.mak include sound.mak include usb.mak +CONFIG_TEST_DEVICES=y # For embedded PPCs: CONFIG_PPC4XX=y diff --git a/default-configs/sh4-softmmu.mak b/default-configs/sh4-softmmu.mak index 1fdb009151..38c7290186 100644 --- a/default-configs/sh4-softmmu.mak +++ b/default-configs/sh4-softmmu.mak @@ -12,6 +12,7 @@ CONFIG_SM501=y CONFIG_I2C=y CONFIG_DDC=y CONFIG_ISA_TESTDEV=y +CONFIG_TEST_DEVICES=y CONFIG_I82378=y CONFIG_I8259=y CONFIG_I8254=y diff --git a/default-configs/sh4eb-softmmu.mak b/default-configs/sh4eb-softmmu.mak index 3b550a5fe8..c966ccafac 100644 --- a/default-configs/sh4eb-softmmu.mak +++ b/default-configs/sh4eb-softmmu.mak @@ -12,6 +12,7 @@ CONFIG_SM501=y CONFIG_I2C=y CONFIG_DDC=y CONFIG_ISA_TESTDEV=y +CONFIG_TEST_DEVICES=y CONFIG_I82378=y CONFIG_I8259=y CONFIG_I8254=y diff --git a/default-configs/sparc64-softmmu.mak b/default-configs/sparc64-softmmu.mak index 1fae4888db..415d4e0787 100644 --- a/default-configs/sparc64-softmmu.mak +++ b/default-configs/sparc64-softmmu.mak @@ -16,6 +16,7 @@ CONFIG_SIMBA=y CONFIG_SUNHME=y CONFIG_MC146818RTC=y CONFIG_ISA_TESTDEV=y +CONFIG_TEST_DEVICES=y CONFIG_SUN4V_RTC=y CONFIG_SUN4U=y CONFIG_NIAGARA=y diff --git a/hw/Kconfig b/hw/Kconfig index c4f1547546..f902c8fdc6 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -61,6 +61,9 @@ source unicore32/Kconfig source xtensa/Kconfig # Symbols used by multiple targets +config TEST_DEVICES + bool + config XILINX bool |