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>
This commit is contained in:
Mihai Carabas 2021-01-27 16:59:28 +02:00 committed by Peter Maydell
parent 677726ef1e
commit d097b3dcb6
6 changed files with 104 additions and 0 deletions

View file

@ -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