All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] iotests: fix failures with non-PCI machines
@ 2021-03-19 20:23 Laurent Vivier
  2021-03-19 20:23 ` [PATCH v3 1/6] qdev: define list of archs with virtio-pci or virtio-ccw Laurent Vivier
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Laurent Vivier @ 2021-03-19 20:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Peter Maydell, Thomas Huth, Daniel P. Berrangé,
	Eduardo Habkost, qemu-block, Cornelia Huck, Markus Armbruster,
	Max Reitz, qemu-s390x, Paolo Bonzini, Philippe Mathieu-Daudé,
	Laurent Vivier

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.

v3:
   Fix typos and comments
   Add _require_one_device_of()

v2:
   Fix typos and comments
   Don't define QEMU_ARCH_NO_PCI but QEMU_ARCH_VIRTIO_PCI,
   QEMU_ARCH_VIRTIO_CCW and QEMU_ARCH_VIRTIO_MMIO
   Update test 127 and 256 to run with ccw
   Update .out of test 051
   Add a patch to update "-drive if=virtio"

Laurent Vivier (6):
  qdev: define list of archs with virtio-pci or virtio-ccw
  m68k: add the virtio devices aliases
  blockdev: with -drive if=virtio, use generic virtio-blk
  iotests: Revert "iotests: use -ccw on s390x for 040, 139, and 182"
  iotests: test m68k with the virt machine
  iotests: iothreads need ioeventfd

 include/sysemu/arch_init.h    |  9 +++++
 blockdev.c                    |  6 +---
 softmmu/qdev-monitor.c        | 65 ++++++++++++++++++++---------------
 tests/qemu-iotests/040        |  2 +-
 tests/qemu-iotests/051        | 12 +------
 tests/qemu-iotests/051.out    |  2 +-
 tests/qemu-iotests/051.pc.out |  2 +-
 tests/qemu-iotests/068        |  4 +--
 tests/qemu-iotests/093        |  3 +-
 tests/qemu-iotests/127        |  3 +-
 tests/qemu-iotests/139        |  9 ++---
 tests/qemu-iotests/182        | 13 ++-----
 tests/qemu-iotests/238        |  4 +--
 tests/qemu-iotests/240        | 10 +++---
 tests/qemu-iotests/256        |  6 ++--
 tests/qemu-iotests/257        |  4 +--
 tests/qemu-iotests/307        |  4 +--
 tests/qemu-iotests/common.rc  | 13 +++++++
 tests/qemu-iotests/iotests.py | 10 +++---
 tests/qemu-iotests/testenv.py |  1 +
 20 files changed, 91 insertions(+), 91 deletions(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-03-22 17:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-19 20:23 [PATCH v3 0/6] iotests: fix failures with non-PCI machines Laurent Vivier
2021-03-19 20:23 ` [PATCH v3 1/6] qdev: define list of archs with virtio-pci or virtio-ccw Laurent Vivier
2021-03-19 20:23 ` [PATCH v3 2/6] m68k: add the virtio devices aliases Laurent Vivier
2021-03-19 20:23 ` [PATCH v3 3/6] blockdev: with -drive if=virtio, use generic virtio-blk Laurent Vivier
2021-03-20  6:22   ` Markus Armbruster
2021-03-19 20:23 ` [PATCH v3 4/6] iotests: Revert "iotests: use -ccw on s390x for 040, 139, and 182" Laurent Vivier
2021-03-19 20:23 ` [PATCH v3 5/6] iotests: test m68k with the virt machine Laurent Vivier
2021-03-19 20:23 ` [PATCH v3 6/6] iotests: iothreads need ioeventfd Laurent Vivier
2021-03-20  5:07   ` Thomas Huth
2021-03-22 17:50 ` [PATCH v3 0/6] iotests: fix failures with non-PCI machines Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.