summaryrefslogtreecommitdiffstats
path: root/hw/char/Kconfig
diff options
context:
space:
mode:
authorThomas Huth2019-03-31 14:40:28 +0200
committerPaolo Bonzini2019-05-17 15:19:39 +0200
commitd09ecd8c14d11d805f65445557cfa691a510dd31 (patch)
tree873fc858b303a57db8f8940b425b65ee18083538 /hw/char/Kconfig
parentioapic: allow buggy guests mishandling level-triggered interrupts to make pro... (diff)
downloadqemu-d09ecd8c14d11d805f65445557cfa691a510dd31.tar.gz
qemu-d09ecd8c14d11d805f65445557cfa691a510dd31.tar.xz
qemu-d09ecd8c14d11d805f65445557cfa691a510dd31.zip
hw/char: Move multi-serial devices into separate file
In our downstream distribution of QEMU, we'd like to ship the binary without the multi-serial PCI devices. To make this disablement easier, let's move the devices into a separate file and add a proper Kconfig- switch for these devices. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1554036028-31410-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/Kconfig')
-rw-r--r--hw/char/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/char/Kconfig b/hw/char/Kconfig
index 6360c9fffa..40e7a8b8bb 100644
--- a/hw/char/Kconfig
+++ b/hw/char/Kconfig
@@ -24,6 +24,12 @@ config SERIAL_PCI
depends on PCI
select SERIAL
+config SERIAL_PCI_MULTI
+ bool
+ default y if PCI_DEVICES
+ depends on PCI
+ select SERIAL
+
config VIRTIO_SERIAL
bool
default y