[PATCH 0/4] iotests: fix failures with non-PCI machines

Laurent Vivier posted 4 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210318223907.1344870-1-laurent@vivier.eu
Maintainers: Markus Armbruster <armbru@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Thomas Huth <thuth@redhat.com>, Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
blockdev.c                    |  6 +----
softmmu/qdev-monitor.c        | 46 +++++++++++++++++++++++------------
tests/qemu-iotests/040        |  2 +-
tests/qemu-iotests/051        | 12 +--------
tests/qemu-iotests/068        |  4 +--
tests/qemu-iotests/093        |  3 +--
tests/qemu-iotests/127        |  4 +--
tests/qemu-iotests/139        |  9 ++-----
tests/qemu-iotests/182        | 13 ++--------
tests/qemu-iotests/238        |  4 +--
tests/qemu-iotests/240        | 10 ++++----
tests/qemu-iotests/256        |  2 ++
tests/qemu-iotests/257        |  4 +--
tests/qemu-iotests/307        |  4 +--
tests/qemu-iotests/iotests.py | 10 ++++----
tests/qemu-iotests/testenv.py |  1 +
16 files changed, 58 insertions(+), 76 deletions(-)
[PATCH 0/4] iotests: fix failures with non-PCI machines
Posted by Laurent Vivier 3 years, 1 month ago
Tests are executed using virtio-*-pci even on a non PCI machine.

The problem can be easily fixed using the virtio aliases
(virtio-*), to run virtio-*-ccw on s390x and virtio-*-device on
m68k.

A first attempt was tried with virtio-*-ccw by detecting
the machine type, this series removes it to use the aliases that
are a cleaner approach.

Laurent Vivier (4):
  m68k: add the virtio devices aliases
  iotests: Revert "iotests: use -ccw on s390x for 040, 139, and 182"
  iotests: test m68k with the virt machine
  iotests: iothreads need ioeventfd

 blockdev.c                    |  6 +----
 softmmu/qdev-monitor.c        | 46 +++++++++++++++++++++++------------
 tests/qemu-iotests/040        |  2 +-
 tests/qemu-iotests/051        | 12 +--------
 tests/qemu-iotests/068        |  4 +--
 tests/qemu-iotests/093        |  3 +--
 tests/qemu-iotests/127        |  4 +--
 tests/qemu-iotests/139        |  9 ++-----
 tests/qemu-iotests/182        | 13 ++--------
 tests/qemu-iotests/238        |  4 +--
 tests/qemu-iotests/240        | 10 ++++----
 tests/qemu-iotests/256        |  2 ++
 tests/qemu-iotests/257        |  4 +--
 tests/qemu-iotests/307        |  4 +--
 tests/qemu-iotests/iotests.py | 10 ++++----
 tests/qemu-iotests/testenv.py |  1 +
 16 files changed, 58 insertions(+), 76 deletions(-)

-- 
2.30.2