tests/qtests: override "force-legacy" for gpio virtio-mmio tests
commit523e40022fc9522bb6bc13e4ce9eb4d1613ab5dc
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 30 Nov 2022 11:24:35 +0000 (30 11:24 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Dec 2022 07:29:59 +0000 (1 02:29 -0500)
tree6359a441c15d986681034a585458c43ad2e305e4
parentb7c61789e653086618d1825858a97b3d9891e822
tests/qtests: override "force-legacy" for gpio virtio-mmio tests

The GPIO device is a VIRTIO_F_VERSION_1 devices but running with a
legacy MMIO interface we miss out that feature bit causing confusion.
For the GPIO test force the mmio bus to support non-legacy so we can
properly test it.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1333
Message-Id: <20221130112439.2527228-2-alex.bennee@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/libqos/virtio-gpio.c