From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 DC5FFC433E0 for ; Mon, 15 Feb 2021 19:23:14 +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 414EC64DCF for ; Mon, 15 Feb 2021 19:23:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 414EC64DCF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBjSj-0007WM-A5 for qemu-devel@archiver.kernel.org; Mon, 15 Feb 2021 14:23:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBjQK-0006Cm-C1 for qemu-devel@nongnu.org; Mon, 15 Feb 2021 14:20:44 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:41101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lBjQH-0003dU-NC for qemu-devel@nongnu.org; Mon, 15 Feb 2021 14:20:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613416840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O0jKZydgnXvffsdI154M1S4KRjQcU+GG3xvtpYNtiTA=; b=LH814//0qeTXoW8TbyfUeSl8xqNONvuLBDYok9LM2QmmFpfNmGZXVb5VdiucaFNaogRpoQ ewL0cTksExE7cXksNSGIzlg/oO8NWZZQOb3Yv8znGTpP1hw1oo3kNjTj8kZyax6lHPUgwj DKaEm/f3WVO5fzsIC9pO9O+y8BnHQyY= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-490-IBV-pSk4MMqXnCnt58HFkA-1; Mon, 15 Feb 2021 14:20:38 -0500 X-MC-Unique: IBV-pSk4MMqXnCnt58HFkA-1 Received: by mail-vk1-f198.google.com with SMTP id v126so521477vkb.9 for ; Mon, 15 Feb 2021 11:20:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O0jKZydgnXvffsdI154M1S4KRjQcU+GG3xvtpYNtiTA=; b=lniaRPGU0pwI7ozKy6k605hYwzivezRoOEZp5swBbHcH29brFfr0yYlKLawkZpfgKd mhIEGUyyJFG0iBnsikyBXZBNxb23UtdnioheaQFFBpLgTMhA3YPWnJ1N+Zp/gQ7+27CY qNVBv5ZCgU5OlOzQrD9nkQ//fU+VttUtBVfU9uSU6yfonUEPDx9tgCABosC+7YsK82Cm igqBswmLV+0e8VFqLKiXtkRcs3hD/Jm8tE5FFnqNCKriBXCDWy2JI8itKbNurDT9lC1q 5Ny/8xV5bqktCpcpD6VHzWQtEg24SAvjyMTc5tMbp0j6EfHTo5f7K5L2sTcJOnWxUMvS 5LKA== X-Gm-Message-State: AOAM530rdV4b1VFqD/csD3BPSZGHoQWY2NTRaUEN6ORB4MWH+vSHgMMu 94kGWsZxCX482O+rOSSLgY91abmb0nShQpdoU0jefZGWlWDpcsqsBf1UjYKopXVrytCopozpGb5 iBIluypHVsxnyF+N8Xs7JeQ5XRJQRO7I= X-Received: by 2002:ab0:5a47:: with SMTP id m7mr10083099uad.124.1613416838367; Mon, 15 Feb 2021 11:20:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyOcooSZhwhTn8o4yfFS+/oJjoyn2XSCHJqi0AV4Z0zE8pktZvwSgM72Fl/gr7aC5iclLpSbUPnJL8TVbvmno= X-Received: by 2002:ab0:5a47:: with SMTP id m7mr10083083uad.124.1613416838220; Mon, 15 Feb 2021 11:20:38 -0800 (PST) MIME-Version: 1.0 References: <20210203172357.1422425-1-crosa@redhat.com> <20210203172357.1422425-17-crosa@redhat.com> In-Reply-To: <20210203172357.1422425-17-crosa@redhat.com> From: Willian Rampazzo Date: Mon, 15 Feb 2021 16:20:12 -0300 Message-ID: Subject: Re: [PATCH 16/22] Acceptance Tests: introduce method for requiring an accelerator To: Cleber Rosa Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=wrampazz@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=63.128.21.124; envelope-from=wrampazz@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: Fam Zheng , Aleksandar Rikalo , Beraldo Leal , Wainer dos Santos Moschetta , =?UTF-8?B?QWxleCBCZW5uw6ll?= , qemu-devel , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , John Snow , Eric Auger , Thomas Huth , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , Max Reitz , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Aurelien Jarno , Eduardo Habkost Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Wed, Feb 3, 2021 at 2:25 PM Cleber Rosa wrote: > > Some tests explicitly require a QEMU accelerator to be available. > Given that this depends on some runtime aspects not known before > the test is started, such as the currently set QEMU binary, it's > left to be checked also at runtime. > > Signed-off-by: Cleber Rosa > --- > tests/acceptance/avocado_qemu/__init__.py | 24 ++++++++++++++++ > tests/acceptance/boot_linux.py | 34 ++++++----------------- > tests/acceptance/virtiofs_submounts.py | 5 +--- > 3 files changed, 34 insertions(+), 29 deletions(-) > Reviewed-by: Willian Rampazzo