tests/qtest: add a test case for pvpanic-pci
commitc0f82826a1cc52a2a038b12ccaa1c92bb7e2d4c0
authorMihai Carabas <mihai.carabas@oracle.com>
Wed, 27 Jan 2021 14:59:30 +0000 (27 16:59 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2021 10:47:28 +0000 (29 10:47 +0000)
tree248c7b6a45ca60ff1ee2318fc941929931677aa7
parentcb2cc20692b8770a63ef139ad0ce14052c25cddd
tests/qtest: add a test case for pvpanic-pci

Add a test case for pvpanic-pci device. The scenario is the same as pvpanic
ISA device, but is using the PCI bus.

Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
[PMM: added code to free dev and pcibus, which the oss-fuzz
 build otherwise complains about as a leak]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/meson.build
tests/qtest/pvpanic-pci-test.c [new file with mode: 0644]