]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable
authorEric Auger <eric.auger@redhat.com>
Wed, 4 May 2022 15:20:24 +0000 (17:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 May 2022 10:07:06 +0000 (12:07 +0200)
commit02ee7a8a97d3ddeda887b596005b462f680dc89c
tree1759603930eea8425c9ac9a1618c302b70796926
parent3df72d1c5500347eac0b5b6d9894713dc443a079
tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable

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 <eric.auger@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220504152025.1785704-3-eric.auger@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/e1000e-test.c
tests/qtest/libqos/pci.h
tests/qtest/vhost-user-blk-test.c
tests/qtest/virtio-blk-test.c
tests/qtest/virtio-net-test.c
tests/qtest/virtio-rng-test.c