From 02ee7a8a97d3ddeda887b596005b462f680dc89c Mon Sep 17 00:00:00 2001 From: Eric Auger Date: Wed, 4 May 2022 17:20:24 +0200 Subject: tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ARM does not not support hotplug on pcie.0. Add a flag on the bus which tells if devices can be hotplugged and skip hotplug tests if the bus cannot be hotplugged. This is a temporary solution to enable the other pci tests on aarch64. Signed-off-by: Eric Auger Acked-by: Thomas Huth Reviewed-by: Alex Bennée Message-Id: <20220504152025.1785704-3-eric.auger@redhat.com> Signed-off-by: Paolo Bonzini --- tests/qtest/libqos/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/qtest/libqos/pci.h') diff --git a/tests/qtest/libqos/pci.h b/tests/qtest/libqos/pci.h index a3c657d..8389614 100644 --- a/tests/qtest/libqos/pci.h +++ b/tests/qtest/libqos/pci.h @@ -52,6 +52,7 @@ struct QPCIBus { uint64_t pio_alloc_ptr, pio_limit; uint64_t mmio_alloc_ptr, mmio_limit; bool has_buggy_msi; /* TRUE for spapr, FALSE for pci */ + bool not_hotpluggable; /* TRUE if devices cannot be hotplugged */ }; -- cgit v1.1