aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/Kconfig
diff options
context:
space:
mode:
authorMihai Carabas <mihai.carabas@oracle.com>2021-01-27 16:59:28 +0200
committerPeter Maydell <peter.maydell@linaro.org>2021-01-29 10:47:28 +0000
commitd097b3dcb6214a35613abc60c48517b850349ad0 (patch)
treeafbefaeec6216a53683608789e63f87b1b10a3db /hw/misc/Kconfig
parent677726ef1ebc567e4f5081f68623debc68f958d9 (diff)
hw/misc/pvpanic: add PCI interface support
Add PCI interface support for PVPANIC device. Create a new file pvpanic-pci.c where the PCI specific routines reside and update the build system with the new files and config structure. Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/Kconfig')
-rw-r--r--hw/misc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 23bc9786cf..19c216f3ef 100644
--- a/hw/misc/Kconfig
+++ b/hw/misc/Kconfig
@@ -124,6 +124,12 @@ config IOTKIT_SYSINFO
config PVPANIC_COMMON
bool
+config PVPANIC_PCI
+ bool
+ default y if PCI_DEVICES
+ depends on PCI
+ select PVPANIC_COMMON
+
config PVPANIC_ISA
bool
depends on ISA_BUS