From patchwork Thu Mar 18 22:39:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 12149335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8268DC433DB for ; Thu, 18 Mar 2021 22:41:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D24AF64EED for ; Thu, 18 Mar 2021 22:41:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D24AF64EED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vivier.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:41700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lN1KI-0005Rf-MX for qemu-devel@archiver.kernel.org; Thu, 18 Mar 2021 18:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lN1Ia-0003yD-OV; Thu, 18 Mar 2021 18:39:24 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:33725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lN1IY-0003xG-V7; Thu, 18 Mar 2021 18:39:24 -0400 Received: from localhost.localdomain ([82.142.20.38]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mj8a5-1lsU5p02R3-00f90o; Thu, 18 Mar 2021 23:39:16 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PATCH 0/4] iotests: fix failures with non-PCI machines Date: Thu, 18 Mar 2021 23:39:03 +0100 Message-Id: <20210318223907.1344870-1-laurent@vivier.eu> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:abnz19YEvSr/vGt22n47CU3LB98/kJV0Fxmkq4Qo/5kOu3u6wpZ cbXcO5uxQn+jdEaEYuMbNTCOGmbncgmKkFmoTr0t9OTBsJZHnHjQYvzBGcjckdrpOjB6ZIP orYN+j/CR+r3F9P6XWyb1/8pCBErRHxCSCLRgtO57WRAnhxgyBJbeb5uADGgXSI5NYuZ8WG iij1Xqa41TxlwL2GBxUmQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:YMnnAUGAjJQ=:VeVjedvwG4LMZbuablWvfe KQKljedAic4pR+kz2yif87mjNErrJHKD/8mw0OScMS0FwTVCCnsqJ4d7YYMSJhfVfTxu2jrxh 1mcJyG8Ono3XcaJdgEPhgUr1UqbysIx5g4l3oC8t0A+o1iXp5RLEbyCVdneeITbGOQ/Z3tKkS x4MMfz5tmlABzF8RD+YCj8EJM7JXRNh0xUqyWEMLwiF2jK0fUYXMPet7A5UNffN9W37+hdm84 7P+JEMfYE0eCBx3DG4bIfxHh6TCsaOveQ1Fu9v3pqJWEHYjwEjCvevjXjb4CToGm3ZM51xuEX kxunJjkCX7O3b3layIWqTiw62KMmTdJdBFriVzlts8IybAtaddDhd4ntx25pbhbqdXtcBupQ6 OoEpEMR3nhfRWeRMbjSrzI56tAClULcHe2ZzpT5ZPqYEDxMjq5xh8l4l2x/tB5N7wPSa/+DPj LxULFCpTLg== Received-SPF: none client-ip=212.227.126.134; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Peter Maydell , Thomas Huth , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Eduardo Habkost , qemu-block@nongnu.org, Cornelia Huck , Markus Armbruster , Max Reitz , qemu-s390x@nongnu.org, Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" 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(-)